public ActionResult CreateRequest(string products, string qty)
        {
            DepartmentStaff a = Session["DeptStaff"] as DepartmentStaff;

            if (products != "" && ModelState.IsValid)
            {
                List <string> head = new List <string>();
                RequestDAO.AddRequest(products, qty, a.StaffId);
                string headname = db.DepartmentStaff.Where(x => x.DeptId == a.DeptId && x.StaffType == "head").Select(x => x.StaffEmail).FirstOrDefault();
                head.Add(headname);
                string message = Utility.EmailBody.RequestBody + a.StaffName + Utility.EmailBody.RequestBody2;
                Utility.EmailService.SendEmail(head, Utility.EmailBody.RequestSubject, message);
                return(RedirectToAction("OrderStatus", "Request"));
            }
            TempData["shortMessage"] = "Please choose at least a product to create a request form";
            return(RedirectToAction("RequestForm", "Request"));
        }