Exemple #1
0
        /// <summary>
        /// Method to retrieve a EquipCheckAppUser.
        /// </summary>
        /// <param name="user"> Incoming parameter that specifies the EquipCheckAppUser. </param>
        /// <returns> Returns an EquipCheckAppUser. </returns>
        public EquipCheckAppUser RetrieveUser(EquipCheckAppUser user)
        {
            service = (IUserSvc)GetServiceFromFactory(typeof(IUserSvc).Name);

            if (service != null)
            {
                return(service.GetEquipCheckAppUser(user));
            }
            else
            {
                Debug.WriteLine("Unable to get user.");
                return(null);
            }
        }