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); }
public async Task <ServerResponse> DeleteMhTaskAsync(long id) { return(AOResultToServerResponse(await _mhTaskService.DeleteMhTaskAsync(id))); }