public void OrderOffer(string OfferID, string UserName)
        {
            WorkWithUsers WWU    = new WorkWithUsers();
            string        UserID = WWU.GetUserByName(UserName).UserID;

            IQueryable <Orders> UserOrders = from FiltredOrders in
                                             (from OrdersRec in Db.Orders where OrdersRec.OfferID == OfferID select OrdersRec)
                                             where FiltredOrders.ClientID == UserID
                                             select FiltredOrders;

            AddToOrders(OfferID, UserID);
        }
 public ActionResult EditProfile(Users EditUser)
 {
     WorkWithUsers WWU = new WorkWithUsers();
     WWU.SetEditProfileData(EditUser);
     return RedirectToAction("TabClick", "Home", new { tabID = 3 });
 }
 public ActionResult EditProfile()
 {
     WorkWithUsers WWU = new WorkWithUsers();
     Users ActiveUser = WWU.GetUserByName(User.Identity.Name);
     return View(ActiveUser);
 }