示例#1
0
 private void Update(Guid id, MgaInputModel model)
 {
     Service.Update(id, model).Wait();
 }
示例#2
0
        public async Task <IActionResult> Update(Guid id, MgaInputModel model)
        {
            await _service.Update(id, model);

            return(Ok());
        }
示例#3
0
 private void Add(MgaInputModel model)
 {
     Service.Add(model).Wait();
 }
示例#4
0
        public async Task <IActionResult> Add(MgaInputModel model)
        {
            await _service.Add(model);

            return(Ok());
        }