public async Task <IActionResult> GetHumanResourcesGroupedByMonths(int idServicio, DateTime from, DateTime to)
        {
            try
            {
                var entities = await _servicioService.GetHumanResourcesGroupedByMonths(from, to, idServicio, Usuario);

                return(Ok(entities));
            }
            catch (Exception e)
            {
                return(StatusCode(500, e.Message));
            }
        }