Esempio n. 1
0
 /// <summary>
 /// Method delegate to repository check if user is customer
 /// <summary>
 /// <param name="user">ApplicationUser</param>
 /// <returns>bool</returns>
 public async Task <bool> IsCustomer(ApplicationUser user)
 {
     return(await userRepository.IsCustomerAsync(user));
 }