internal static LibraryCommon.User LoginModelToUser(LoginModel inModel)
        {
            // TODO: mapping
            LibraryCommon.User _user = new LibraryCommon.User();

            _user.UserName = inModel.Username;
            _user.Password = inModel.Password;

            return(_user);
        }
        internal static UserModel UserToUserModel(LibraryCommon.User inUser)
        {
            UserModel _userModel = new UserModel();

            _userModel.FirstName = inUser.FirstName;
            _userModel.LastName  = inUser.LastName;
            _userModel.Password  = inUser.Password;
            _userModel.RoleID_FK = inUser.RoleID_FK;
            _userModel.RoleName  = Mapper.RoleIdToRoleName(inUser.RoleID_FK);
            _userModel.UserID    = inUser.UserID;
            _userModel.UserName  = inUser.UserName;
            return(_userModel);
        }