Пример #1
0
 public void AddCustomerRequest(int customerId)
 {
     TakingCareOfRequests.Add(new CaretakerForCustomerRequest(Id, customerId));
 }
Пример #2
0
 public bool HasPendingRequest(Guid customer)
 {
     return(TakingCareOfRequests.Any(x => x.Customer.Guid == customer));
 }