public async Task <ActionResult> Get()
        {
            var emails = await _emailsRepository.GetAll();

            return(new OkObjectResult(emails));
        }
Exemplo n.º 2
0
 public async Task <IEnumerable <TblEmails> > GetAll()
 {
     return(await _repository.GetAll());
 }