internal APersonService(IUnitofWork uow) { _uow = uow; _taskRepository = uow.GetRepository <Task>(); _lookupRepository = uow.GetRepository <Lookup>(); _personRepository = uow.GetRepository <Person>(); _objectRawSql = uow.GetRawSql <object>(); }
public UtilityService(IUnitofWork uow) { _parametersRepository = uow.GetRepository <Parameters>(); _lookupListRepository = uow.GetRepository <LookupList>(); _taskRepository = uow.GetRepository <Task>(); _personRepository = uow.GetRepository <Person>(); _unitRepository = uow.GetRepository <Unit>(); _projectRepository = uow.GetRepository <Project>(); _objectRawSql = uow.GetRawSql <object>(); }
public WorkService(IUnitofWork uow) { _taskRepository = uow.GetRepository <Task>(); _taskMediaRepository = uow.GetRepository <TaskMedia>(); _taskHistoryRepository = uow.GetRepository <TaskHistory>(); _commentRepository = uow.GetRepository <Comment>(); _personRepository = uow.GetRepository <Person>(); _projectRepository = uow.GetRepository <Project>(); _lookupListRepository = uow.GetRepository <LookupList>(); _mediaRepository = uow.GetRepository <Media>(); _unitRepository = uow.GetRepository <Unit>(); _objectRawSql = uow.GetRawSql <object>(); }