public async Task <PersonModel> UpdatePerson(PersonModel person)
        {
            _log.Debug("Update Person");

            return(await Task.Run(() => _service.UpdatePerson(person)));
        }
Beispiel #2
0
 public AccountModel()
 {
     Owner = new PersonModel();
 }
        public async Task <PersonModel> InsertPerson(PersonModel person)
        {
            _log.Debug("Insert Person");

            return(await Task.Run(() => _service.InsertPerson(person)));
        }