Beispiel #1
0
 public IEnumerable <RequestModel> GetRequestByAddress(string requestAddress, string requestDate)
 {
     if (String.IsNullOrEmpty(requestDate))
     {
         return(_repos.GetRequestByAddress(requestAddress));
     }
     else
     {
         return(_repos.GetRequestByAddressAndDate(requestAddress, requestDate));
     }
 }