//public static DataTable GetUserRegion(string UserString, string LoginName) //{ // DataTable UserDataTable = null; // try // { // UserDataTable = UserRightsDAL.GetUserRegion(UserString, LoginName); // return UserDataTable; // } // catch (Exception ex) // { // throw ex; // } // finally // { // if (UserDataTable != null) // { // UserDataTable.Dispose(); // } // } //} //public static DataTable GetUserRegionNotAdded(string UserString, string LoginName) //{ // DataTable UserDataTable = null; // try // { // UserDataTable = UserRightsDAL.GetUserRegionNotAdded(UserString, LoginName); // return UserDataTable; // } // catch (Exception ex) // { // throw ex; // } // finally // { // if (UserDataTable != null) // { // UserDataTable.Dispose(); // } // } //} public static Int32 AddUserMapRef(string UserIDString, string MapIDString, string CreatedByString) { Int32 UserRegionID = 0; UserRegionID = UserRightsDAL.AddUserMapRef(UserIDString, MapIDString, CreatedByString); return(UserRegionID); }