public async Task <IEnumerable <Profile> > GetProfileList() { try { var all = await prodDal.All(); return(all); } catch (Exception ex) { throw ex; } }
public async Task <IEnumerable <Profile> > GetAll() { var all = await prodDal.All(); return(all); }