public bool UpdateUser(SystemUser user) { try { UserGetway userGetway = new UserGetway(); return(userGetway.UpdateUser(user)); } catch (Exception) { throw; } }
public SystemUser GetUserById(int id) { try { UserGetway userGetway = new UserGetway(); return(userGetway.GetUserById(id)); } catch (Exception) { throw; } }
public bool Login(SystemUser user) { try { UserGetway userGetway = new UserGetway(); return(userGetway.Login(user)); } catch (Exception) { throw; } }
public bool IsUserExist(string email) { try { UserGetway userGetway = new UserGetway(); return(userGetway.IsUserExist(email)); } catch (Exception) { throw; } }
public int RegisterUser(SystemUser user) { try { UserGetway userGetway = new UserGetway(); return(userGetway.RegisterUser(user)); } catch (Exception) { throw; } }
public bool DeleteUser(int userId) { try { UserGetway userGetway = new UserGetway(); return(userGetway.DeleteUser(userId)); } catch (Exception) { throw; } }
public UserBll() { _userDb = new UserGetway(); }