/// <summary> /// Method to create an EquipCheckAppUser. /// </summary> /// <param name="user"> Incoming parameter that specifies EquipCheckAppUser to create. </param> public EquipCheckAppUser CreateUser(EquipCheckAppUser user) { service = (IUserSvc)GetServiceFromFactory(typeof(IUserSvc).Name); if (service != null) { user = service.StoreEquipCheckAppUser(user); } else { user = null; Debug.WriteLine("Unable to create user."); } return(user); }