Files
LaDOSE/LaDOSE.Src/LaDOSE.Service/Interface/IUserService.cs
2018-10-06 13:05:38 +02:00

15 lines
471 B
C#

using System.Collections.Generic;
using LaDOSE.Entity;
namespace LaDOSE.Business.Interface
{
public interface IUserService
{
ApplicationUser Authenticate(string username, string password);
IEnumerable<ApplicationUser> GetAll();
ApplicationUser GetById(int id);
ApplicationUser Create(ApplicationUser user, string password);
void Update(ApplicationUser user, string password = null);
void Delete(int id);
}
}