Exemplo n.º 1
0
 public IHttpActionResult GetPersonalReportForEmployee(int employeeId, int year, int month)
 {
     if (TimeUnit.Employees.Get(employeeId) == null)
     {
         return(NotFound());
     }
     return(Ok(TimeUnit.GetPersonalReport(employeeId, year, month, TimeFactory)));
 }