예제 #1
0
 public IList <PermissionsDto> Fetch()
 {
     return(_permissionsRepository.All()?.Select(_ => new PermissionsDto
     {
         Id = _.Id,
         Name = _.Name,
         ParentId = _.ParentId
     })?.ToList());
 }