示例#1
0
        public async Task <IEnumerable <Provider> > GetAllAsync(int page, int pageSize)
        {
            try
            {
                return(await _repositoryProvider.GetAllProvidersAsync(page, pageSize));
            }
            catch (Exception)
            {
                Notify("Falha ao obter todos fornecedores.");
            }

            return(null);
        }