Example #1
0
        public async Task <IActionResult> Update(Guid id, AdvisorInputModel model)
        {
            await _service.Update(id, model);

            return(Ok());
        }
Example #2
0
 private void Update(Guid id, AdvisorInputModel model)
 {
     Service.Update(id, model).Wait();
 }
Example #3
0
        public async Task <IActionResult> Add(AdvisorInputModel model)
        {
            await _service.Add(model);

            return(Ok());
        }
Example #4
0
 private void Add(AdvisorInputModel model)
 {
     Service.Add(model).Wait();
 }