public IActionResult GetAll() { var service = new PlazoAperturaService(_unitOfWork, _plazoAperturaRepository, _mailServer, _jefeDptoRepository); var response = service.GetAll(); return(Ok(response)); }