You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
689 B
27 lines
689 B
using Common.Model;
|
|
using Common.Model.Account;
|
|
using Repository.DAO.Account;
|
|
using System.Data;
|
|
|
|
namespace Business.Account
|
|
{
|
|
public class AccountServices : IAccountServices
|
|
{
|
|
private readonly IAccountRepo _accountRepo;
|
|
|
|
public AccountServices(IAccountRepo accountRepo)
|
|
{
|
|
_accountRepo = accountRepo;
|
|
}
|
|
|
|
public DataSet LoginSystem(LoginModel loginModel)
|
|
{
|
|
return _accountRepo.SystemLogin(loginModel);
|
|
}
|
|
|
|
public DbResponse ChangePassword(PasswordChangeModel changePassword)
|
|
{
|
|
return _accountRepo.ChangePassword(changePassword);
|
|
}
|
|
}
|
|
}
|