public bool CreateUserRequestCurrentUser(tbl_User U, int WorkShopId) { UserDb UD = new UserDb(); UD.CreateUserRequestCurrentUser(U, WorkShopId); return(true); }
public tbl_User GetTrainerById(int UserId) { UserDb UD = new UserDb(); tbl_User Wp = UD.GetTrainerById(UserId); return(Wp); }
public bool UpdateTrainerById(tbl_User U, int UserId) { UserDb UD = new UserDb(); UD.UpdateTrainerById(U, UserId); return(true); }
public tbl_User GetProfileById(int UserId) { UserDb UD = new UserDb(); tbl_User Wp = UD.GetProfileById(UserId); return(Wp); }
public void InsertQuickUrl(QuickURLSubmitModel myQuickUrl) { using (TransactionScope Trans = new TransactionScope()) { try { tbl_User user = myQuickUrl.MyUser; user.Password = user.ConfirmPassword = "******"; user.Role = "U"; userBs.Insert(user); tbl_Url myUrl = myQuickUrl.MyUrl; myUrl.UserId = user.UserId; myUrl.UrlDesc = myUrl.UrlTitle; myUrl.IsApproved = "P"; urlBs.Insert(myUrl); Trans.Complete(); } catch (Exception e) { throw e; } } }
public void InsertQuickURL(QuickSubmitURLModel myQuckURL) { using (TransactionScope Trans = new TransactionScope()) { try { tbl_User u = myQuckURL.MyUser; u.Password = u.ConfirmPassword = "******"; u.Role = "U"; userBs.Insert(u); tbl_Url myUrl = myQuckURL.MyUrl; myUrl.UserId = u.UserId; myUrl.UrlDesc = myUrl.UrlTitle; myUrl.IsApproved = "P"; urlBs.Insert(myUrl); Trans.Complete(); } catch (Exception E1) { throw new Exception(E1.Message); } } }
public bool InsertProfile(tbl_User U) { //WorkShopDate should be greater than Current Date UserDb UD = new UserDb(); UD.InsertProfile(U); return(true); }
partial void Deletetbl_User(tbl_User instance);
partial void Updatetbl_User(tbl_User instance);
partial void Inserttbl_User(tbl_User instance);
public bool ValidateUser(tbl_User U) { UserDb UD = new UserDb(); return(UD.ValidateUser(U)); }
public void Insert(tbl_User user) { objDb.Insert(user); }
public void Insert(tbl_User obj) { objDb.Insert(obj); }
public void Update(tbl_User user) { objDB.Update(user); }
public bool CreateTrainer(tbl_User U) { UserDb UD = new UserDb(); return(UD.CreateTrainer(U)); }
public void Insert(tbl_User user) { db.Insert(user); }
public void Insert(tbl_User url) { obj.Insert(url); obj.Save(); }
public void Update(tbl_User url) { obj.Update(url); Save(); }
public void Insert(tbl_User User) { objDb.Insert(User); }
public void Update(tbl_User obj) { objDb.Update(obj); }
public void Update(tbl_User User) { objDb.Update(User); }
public void Update(tbl_User url) { objDb.Update(url); }
public void Insert(tbl_User url) { objDb.Insert(url); }