Exemplo n.º 1
0
        public async Task <List <TaskInfoDto> > GetListByIdsAsync(int[] ids)
        {
            string conditions = "where Id in @ids";
            var    lst        = await _repository.GetListAsync(conditions, new { ids = ids });

            return(_mapper.Map <List <TaskInfoDto> >(lst));
        }