public async Task DeleteAsync(Guid officeguid)
        {
            var source = await officeRepository.GetAsync(officeguid);

            if (source != null)
            {
                await officeRepository.DeleteAsync(source);
            }
        }
Example #2
0
 public Task DeleteOffice(int id)
 {
     return(_officeRepository.DeleteAsync(id));
 }
Example #3
0
 public async Task DeleteOffice(int id)
 {
     await _officeRepository.DeleteAsync(id);
 }
Example #4
0
 public async Task <bool> Delete(Guid id)
 {
     return(await _repository.DeleteAsync(id));
 }