示例#1
0
        public async Task <IEnumerable <LoadDTO> > GetAllLoad()
        {
            var load = await _LoadService.GetAllLoad();

            var resource = _mapper.Map <IEnumerable <Load>, IEnumerable <LoadDTO> >(load);

            return(resource);
        }