Exemplo n.º 1
0
        public IActionResult Get(int profileId)
        {
            var timesheets      = _timesheetService.GetProfileTimesheets(profileId);
            var timesheetModels = timesheets.Select(t => t.ToApiModel());

            return(Ok(timesheetModels));
        }