My Teacher, easy it make :) I created a generic management class called GenericManager and used it like this: public class GenericManager : IGenericService where T : class { private readonly IGenericDal _genericDal; public GenericManager(IGenericDal genericDal) { _genericDal = genericDal; } public void TDelete(int id) { _genericDal.Delete(id); } more... Do you think this is a correct usage?
Teacher, easy it make :) You're doing very well.
Teacher, you are doing well, keep up the good work. :)
My Teacher, easy it make :) I created a generic management class called GenericManager and used it like this: public class GenericManager : IGenericService where T : class
{
private readonly IGenericDal _genericDal;
public GenericManager(IGenericDal genericDal)
{
_genericDal = genericDal;
}
public void TDelete(int id)
{
_genericDal.Delete(id);
}
more...
Do you think this is a correct usage?