/// <summary> /// Constructor dependency injection /// </summary> /// <param name="repository"></param> public CommentLogic(IEfRepository repository) { _commentLogic = repository.For <Comment>(); }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="repository"></param> public UserLogic(IEfRepository repository) { _userDal = repository.For <User>(); }
public BasicLogicUserBoundImpl(User user, IBasicCrudWrapper <T> basicCrudDal) { _user = user; _basicCrudDal = basicCrudDal; }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="repository"></param> public CategoryLogic(IEfRepository repository) { _categoryDal = repository.For <Category>(); }
/// <summary> /// Constructor dependency injection /// </summary> /// <param name="repository"></param> public ProjectLogic(IEfRepository repository) { _userDal = repository.For <Project>(); }