public async Task <IActionResult> Create() { var sellers = await _salesRecordeServices.FindAllAsync(); var viewModel = new SalesRecordFormViewModel { Sellers = sellers }; return(View(viewModel)); }
public async Task <IActionResult> Records() { var list = await _salesRecordService.FindAllAsync(); return(View(list)); }