Пример #1
0
 public async Task <Models.Planning> IsOccupiedBy(int deskId, DateTime startDate, DateTime?endDate)
 {
     try
     {
         return((await _planningRepository.IsOccupiedBy(deskId, startDate, endDate)).ToModel());
     }
     catch (System.Exception)
     {
         throw;
     }
 }