//public ActionResult ProductsRequestsDisplay() //{ // return View(); //} public ActionResult AdminApproveProducts() { BL.Admin admin = new BL.Admin(); List <Product_table> product = admin.DisplayPendingProducts(); return(View(product)); }
public ActionResult DisplayVendorRegister() { Request_table reqobj = new Request_table(); ViewBag.Request = reqobj; BL.Admin admin = new BL.Admin(); List <VendorRequest> ReqVendor = admin.VendorRequestView(); return(View(ReqVendor)); }
public ActionResult AfterAdminLogin(string mail, string password) { BL.Admin myadmin = new BL.Admin(); bool loginStatus = myadmin.AdminLogin(mail, password); if (loginStatus == true) { return(View("AfterAdminLogin")); } else { return(View("AdminLogin")); } }
public void UpdateAdmin(Admin admin) { IRepository.UpdateAdmin(admin); }
public void RemoveAdmin(Admin admin) { IRepository.RemoveAdmin(admin); }
public void AddAdmin(Admin admin) { IRepository.AddAdmin(admin); }