Ejemplo n.º 1
0
        public async Task <ServerResponse <bool> > DeleteMhTaskAsync(long id)
        {
            var serverResponse = await _mhTaskService.DeleteMhTaskAsync(id);

            await _sendEndpointProvider.Send(
                _mhTaskService.CreateFeedMessage(new MhTaskRequest {
                Id = id, AppUserId = AccountId
            },
                                                 EFeedAction.Delete));

            return(serverResponse);
        }
Ejemplo n.º 2
0
 public async Task <ServerResponse> DeleteMhTaskAsync(long id)
 {
     return(AOResultToServerResponse(await _mhTaskService.DeleteMhTaskAsync(id)));
 }