示例#1
0
 public IActionResult GetWorkingHoursByUser([FromQuery] UserEngagementOwnerParameters ownerParams)
 {
     if (ownerParams.UserId.Length == 0 || ownerParams.DateFormatSelected.Length == 0)
     {
         return(BadRequest("Please check owner parameters. User and DateFormat must be selected"));
     }
     return(Ok(_reportFacade.GetUserEngagementByOwnerParams(ownerParams)));
 }