Ejemplo n.º 1
0
 protected async Task AssignToCustomerTag(CustomerAction action, Customer customer)
 {
     if (customer.CustomerTags.Where(x => x == action.CustomerTagId).Count() == 0)
     {
         await _customerTagService.InsertTagToCustomer(action.CustomerTagId, customer.Id);
     }
 }