public async Task <IActionResult> Create(long id) { var Data = new DetailModel { OffenceType = await _masterService.GetMasterList(MasterType.Offence), Premises = await _premiseService.GetPremise() }; return(View(Data)); }
public async Task <IList <Premise> > ListPremise(Guid?customerID) { return(await _premiseService.GetPremise(customerID)); }