Ejemplo n.º 1
0
 public async Task <IEnumerable <Administrator> > List()
 {
     return(await _administratorRepository.List());
 }
        public List <Administrator> getAllAdmins()
        {
            AdministratorRepository adminManagerObj = new AdministratorRepository();

            return(Mapper.Map <List <Administrator> >(adminManagerObj.List()));
        }