/// <summary> /// Get infomation /// </summary> /// <param name="inputObject">DataModel</param> /// <returns>DataModel</returns> private InitDataModel GetInfo(InitDataModel inputObject) { // Local variable declaration InitDataModel getResult = null; MCodeCom mCodeCom = null; AdminGroupRoleEntryDao adminGroupRoleEntryDao = null; // Variable initialize getResult = new InitDataModel(); mCodeCom = new MCodeCom(); adminGroupRoleEntryDao = new AdminGroupRoleEntryDao(); // Get data var group = adminGroupRoleEntryDao.GetGroup(inputObject.GroupCd); var listRole = mCodeCom.GetListRole(false, false); var listDeleteFlag = mCodeCom.GetListCode(Logics.GROUP_DELETE_FLAG, null, false, false); // Set value getResult.Group = group; getResult.ListRole = listRole; getResult.ListDeleteFlag = listDeleteFlag; // Return value return(getResult); }