public async Task <IActionResult> Create(ProductionViewModel obj) { ProductionService ps = new ProductionService(_Context); bool t = await ps.CreatProductionAsync(obj); //return RedirectToAction("Index"); return(RedirectToAction("Index", new { id = obj.FacId })); }