Beispiel #1
0
        [HttpGet("byProjectDate_ProjectManager/{IdProject}/{date}")]//ROUTE
        public IActionResult GetByProjectDate_Manager(int IdProject, DateTime date)
        {
            var timesheet = _timesheetService.GetTimesheetByProjectDate_Manager(IdProject, date);

            var timesheetDto = _mapper.Map <IList <TimesheetViewDto> >(timesheet);

            return(Ok(timesheetDto));
        }