public IActionResult Create(SalesRecord salesRecord) { _salesRecordService.Insert(salesRecord); return(RedirectToAction(nameof(Index))); }