using System.Collections.Generic; using LaDOSE.Entity; namespace LaDOSE.Business.Interface { public interface IUserService { ApplicationUser Authenticate(string username, string password); IEnumerable GetAll(); ApplicationUser GetById(int id); ApplicationUser Create(ApplicationUser user, string password, IEnumerable roleNames = null); void Update(ApplicationUser user, string password = null); void Delete(int id); /// The roles that exist in the database — reference data, not created at runtime. IEnumerable GetAllRoles(); } }