Пример #1
0
        public async Task <ServerResponse <bool> > UpdateMhTaskAsync([FromBody] MhTaskRequest mhTaskRequest)
        {
            var serverResponse = await _mhTaskService.UpdateMhTaskAsync(mhTaskRequest);

            await _sendEndpointProvider.Send(_mhTaskService.CreateFeedMessage(mhTaskRequest, EFeedAction.Update));

            return(serverResponse);
        }
Пример #2
0
 public async Task <ServerResponse> UpdateMhTaskAsync([FromBody] MhTaskRequest mhTaskRequest)
 {
     return(AOResultToServerResponse(await _mhTaskService.UpdateMhTaskAsync(mhTaskRequest)));
 }