I just configured Castle-Windsor and am receiving this message:
Type DataModel.IDepartmentRepository is abstract. As such, it is not possible to instansiate it as implementation of DataModel.IDepartmentRepository service.
My Interface looks like this:
namespace DataModel
{
public interface IDepartmentRepository
{
IQueryable<Department> GetAllDepartments();
Department GetDepartment(int id);
void Add(Department department);
void Delete(Department department);
void Save();
}
}
My Department class is set up as a Partial Class to a class generated by LINQ TO SQL in my dbml file.
Any help would be very much appreciated.
Thanks -