public GenericResponse <LoginContract> UserLogin(LoginRequest request) { Business.Banking.Login loginBusiness = new Business.Banking.Login(); var response = loginBusiness.UserLogin(request); return(response); }
public GenericResponse <List <LoginContract> > GetAllUsers(LoginRequest request) { Business.Banking.Login loginBusiness = new Business.Banking.Login(); var response = loginBusiness.GetAllUsers(request); return(response); }
//Login işlemleri public LoginResponse GetLogin(LoginRequest request) { Business.Banking.Login customerBusiness = new Business.Banking.Login(); var isSuccess = customerBusiness.GetLogin(request.LoginContract); if (isSuccess) { return(new LoginResponse() { IsSuccess = true }); } return(new LoginResponse() { IsSuccess = false }); }