public async Task <IActionResult> GetServiciosInactivosMotivos(DateTime from, DateTime to) { try { var entities = await _servicioService.GetServiciosInactivosMotivos(from, to, Usuario); return(Ok(entities)); } catch (Exception e) { return(StatusCode(500, e.Message)); } }