public Task DeleteAsync(int id) { _smtpRepository.Delete(id); return(Task.FromResult <object>(null)); }