LocalGovIMS_localgov-ims/src/BusinessLogic/Interfaces/Services/IUserService.cs
using BusinessLogic.Entities;
using BusinessLogic.Interfaces.Result;
using BusinessLogic.Models.Shared;
using BusinessLogic.Models.User;
using System.Collections.Generic;

namespace BusinessLogic.Interfaces.Services
{
    public interface IUserService
    {
        SearchResult<User> Search(SearchCriteria criteria);
        List<User> GetAllUsers();
        User GetUser(int id);
        User GetUser(string username);
        IResult Create(User item);
        IResult Update(User user);
        IResult RecordLogin(string username);
        bool DoesUserAccountNeedDisabling(User user);
        IResult DisableUser(string username);
        IResult IsUserDisabled(string username);
    }
}