Beispiel #1
0
        public async Task <List <M_Shift> > GetListShift()
        {
            var data = await _repoShift.FindAll().ToListAsync();

            return(data);
        }
Beispiel #2
0
 public List <EngineerShiftModel> FindAll()
 {
     return(Mapper.Map <List <EngineerShiftModel> >(_repository.FindAll()));
 }