public async Task <IActionResult> GetAllByDesactive([FromServices] INurseRepository repository) { var result = await repository.GetAllDesactive(false); return(Ok(_mapper.Map <IEnumerable <NurseViewModel> >(result))); }
public NurseCommandHandler(INurseRepository nurseRepository, IUnitOfWork uow) { _nurseRepository = nurseRepository; _uow = uow; }
public async Task <IActionResult> GetById(Guid id, [FromServices] INurseRepository repository) { var result = await repository.GetById(id); return(Ok(_mapper.Map <NurseViewModel>(result))); }
public async Task <IActionResult> GetAllByHospital(Guid id, [FromServices] INurseRepository repository) { var result = await repository.GetByHospital(id); return(Ok(_mapper.Map <IEnumerable <NurseViewModel> >(result))); }
public CommandHandlerNurse(INurseRepository nurseRepository) { _nurseRepository = nurseRepository; }
public NurseRetriever(INurseRepository nurseRepository) { NurseRepository = nurseRepository; }
public NurseService(INurseRepository repository, IUnitOfWork unitOfWork) { _repository = repository; _unitOfWork = unitOfWork; }
public NurseService(INurseRepository nurseRepository, IUserRepository userRepository) { this.nurseRepository = nurseRepository; this.userRepository = userRepository; }
public NurseController(INurseRepository repository, INurseCommandHandlerBase handler) { _repository = repository; _handler = handler; }
public NurseRegistration(INurseRepository nurseRepository) { NurseRepository = nurseRepository; }
public NurseHandler(INurseRepository nurseRepository, IAddressRepositoty addressRepositoty) { _nurseRepository = nurseRepository; _addressRepositoty = addressRepositoty; }