/// <summary>
 /// Executes the query
 /// </summary>
 /// <param name="cmdParams"></param>
 /// <returns>Returns the specified organization, or null if no organization exists with the specified registration token</returns>
 public virtual Organization Execute(OrganizationByRegistrationTokenQueryParams cmdParams)
 {
     return _serviceFactory.GetService<IUnitOfWork>().Organizations.Fetch()
                             .Where(x => x.RegistrationToken == cmdParams.RegistrationToken).FirstOrDefault();
 }
 /// <summary>
 /// Executes the query
 /// </summary>
 /// <param name="cmdParams"></param>
 /// <returns>Returns the specified organization, or null if no organization exists with the specified registration token</returns>
 public virtual Organization Execute(OrganizationByRegistrationTokenQueryParams cmdParams)
 {
     return(_serviceFactory.GetService <IUnitOfWork>().Organizations.Fetch()
            .Where(x => x.RegistrationToken == cmdParams.RegistrationToken).FirstOrDefault());
 }