using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; namespace BlueWest.WebApi.Context.Users { public interface IUserManager { /// /// Create user. /// /// /// Task CreateAsync(ApplicationUser user); /// /// Checks for user password /// /// /// /// Task CheckPasswordAsync(ApplicationUser user, string password); /// /// Find by email /// /// /// Task FindByEmailAsync(string email); } }