예제 #1
0
        public async Task <IActionResult> Create(long id)
        {
            var Data = new DetailModel
            {
                OffenceType = await _masterService.GetMasterList(MasterType.Offence),
                Premises    = await _premiseService.GetPremise()
            };

            return(View(Data));
        }
예제 #2
0
 public async Task <IList <Premise> > ListPremise(Guid?customerID)
 {
     return(await _premiseService.GetPremise(customerID));
 }