public GetSimGroupsAdminParam(GetSimGroupsParam param)
 {
     foreach (var p in param.GetType().GetProperties())
     {
         GetType().GetProperty(p.Name)?.SetValue(this, p.GetValue(param));
     }
 }
        public ActionResult <PaginatedResponse <SimGroup> > GetSimGroups([FromQuery] GetSimGroupsParam param)
        {
            var user = _userRepository.GetEndUser(Guid.Parse(User.Identity.Name));

            return(GetSimGroups(new GetSimGroupsAdminParam(param)
            {
                OrganizationCode = user.Domain.Organization.Code
            }));
        }