public IActionResult CreateSupplier() { ViewBag.ChannelList = dropdownObj.GetChannels(); return(View(new SupplierModel())); }
public IActionResult InsertSupplier() { ViewBag.SupplierList = dropdownObj.GetSuppliers(); ViewBag.ChannelList = dropdownObj.GetChannels(); return(View(new ChannelModel())); }