// GET: PurchaseOfCheese/Create public IActionResult Create() { ViewBag.message = ""; ViewData["Employees"] = new SelectList(employeesrepo.GetList(), "IdEmployees", "FullName"); ViewData["RawMaterials"] = new SelectList(rawMaterialsrepo.GetList(), "IdRawMaterials", "Names"); return(View()); }
// GET: ProductSales/Create public IActionResult Create() { ViewBag.message = ""; ViewData["Employees"] = new SelectList(employeesrepo.GetList(), "IdEmployees", "FullName"); ViewData["FinishedProduct"] = new SelectList(finishedProductsrepo.GetList(), "IdFinishedProducts", "Names"); return(View()); }
// GET: Employees/Create public IActionResult Create() { ViewData["Position"] = new SelectList(postionrepository.GetList(), "IdPosition", "Position1"); return(View()); }
// GET: Employees public async Task <IActionResult> Index() { return(View(await Task.Run(() => employeesrepository.GetList()))); }
// GET: Ingredients/Create public IActionResult Create() { ViewData["Manufacturing"] = new SelectList(finishedProductsrepo.GetList(), "IdFinishedProducts", "Names"); ViewData["RawMaterials"] = new SelectList(rawMaterialrepi.GetList(), "IdRawMaterials", "Names"); return(View()); }
// GET: Ingredients public async Task <IActionResult> Index() { return(View(await Task.Run(() => ingredientsrepo.GetList()))); }
public async Task <IActionResult> View([Bind("CreaditId")] int creditId) { return(View(await Task.Run(() => loanRepaymentRepo.GetList().Where(p => p.CreaditId == creditId)))); }
// GET: LoanRepayments public IActionResult Index() { ViewData["CreaditId"] = new SelectList(creditsRepsitory.GetList(), "IdCredits", "Name"); return(View()); }
// GET: RawMaterials/Create public IActionResult Create() { ViewData["UnitOfMeasure"] = new SelectList(unitsrepo.GetList(), "IdUnitOfmeasure", "Names"); return(View()); }
// GET: RawMaterials public async Task <IActionResult> Index() { return(View(await Task.Run(() => rawMaterialsrepo.GetList()))); }
// GET: Positions public async Task <IActionResult> Index() { return(View(await Task.Run(() => positionrepo.GetList()))); }
// GET: FinishedProducts public async Task <IActionResult> Index() { return(View(await Task.Run(() => finishedProductsrepo.GetList()))); }