public bool AddUser(RentalAgent ren) { try { ren.Salt = new LoginHelper().CreateSalt(); ren.HashPass = new LoginHelper().Hasher(ren.HashPass, ren.Salt); return(DB.AddRenAgent(ren)); } catch (Exception) { return(true); } }