public async Task <IResponseOutput> DeleteAsync(long id) { var result = false; if (id > 0) { result = (await _viewRepository.DeleteAsync(m => m.Id == id)) > 0; } return(ResponseOutput.Result(result)); }
public async Task <IResponseOutput> DeleteAsync(long id) { var result = false; if (id > 0) { result = (await _viewRepository.DeleteAsync(m => m.Id == id)) > 0; } return(ResponseOutput.Result(result)); }