public ActionResult AddEdit(QuotationModel model) { //model.AddedBy = HttpContext.Session.GetString("UserName"); bool EmployeeStatus = QuotationService.AddQuotation(model); if (EmployeeStatus) { TempData["Success"] = "Quotation Added Successfully."; } else { TempData["Error"] = "Error, Please Try Again."; } return(RedirectToAction("Index")); }