public ActionResult Index()
 {
     return(View(_CategoryManger.GettAll().Where(C => C.IsArchived == false).ToList()));
 }
 private void setCategoryAndSupplierlist()
 {
     ViewBag.CategoryId = new SelectList(_categoryManger.GettAll().Where(c => c.IsArchived == false), "Id", "Name");
     ViewBag.SupplierId = new SelectList(_supplierManger.GettAll().Where(c => c.IsArchived == false), "Id", "Name");
 }