public IActionResult AddRequest(RequestModel req) { if (req == null) { throw new ArgumentNullException(); } factoryService.AddRequest(req); return(RedirectToAction("GetMachines")); }