Files
carparkvalidation/CarParkValidationAPI/Interface/IUser.cs
T
2021-08-23 08:18:46 +10:00

22 lines
783 B
C#

using CarParkValidationAPI.Models.Users;
using CarParkValidationAPI.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CarParkValidationAPI.Models;
namespace CarParkValidationAPI.Interface
{
public interface IUserService
{
AuthenticateResponse Authenticate(AuthenticateRequest model);
Task<ResultModel<AuthenticateResponse>> LoginApiAD(AuthenticateRequest model);
Task<ResultModel<AuthenticateResponse>> LoginAD(AuthenticateRequest model);
Task<ResultModel<List<User>>> GetAllUsers();
Task<ResultModel<User>> GetById(int id);
Task<ResultModel<User>> SearchApiStaff(string staffLinkNo);
Task<ResultModel<User>> SearchADStaff(string staffLinkNo);
}
}