public async Task <Status> GatMailStatusByIdAsync(int id) { try { var status = await _mailRepository.GetMailStatusByIdAsync(id); return(status); } catch (InvalidOperationException) { throw; } }