Пример #1
0
 public void deleteGroup(ClassEntities.Group objGroup)
 {
     try
     {
         objUserInfoDAL.deleteGroup(objGroup);
     }
     catch (Exception ex)
     {
         CubitExceptionUtility.CubitExceptionLog(ex.Message + "BAL: Error while deleting group" + ex.StackTrace + " " + ex.InnerException, this.GetType().BaseType.Name.ToString(), DateTime.Now.ToLongTimeString(), DateTime.Now.ToLongDateString());
     }
 }
Пример #2
0
        /*------------------------------------------------------------------------------CREATE GROUP------------------------------------*/

        public void createGroup(ClassEntities.Group objGroup)
        {
            try
            {
                objGroup.group_isactive = true;
                objUserInfoDAL.createGroup(objGroup);
            }
            catch (Exception ex)
            {
                CubitExceptionUtility.CubitExceptionLog(ex.Message + "BAL: Error while calling create new group in to the UserInfoDAL" + ex.StackTrace + " " + ex.InnerException, this.GetType().BaseType.Name.ToString(), DateTime.Now.ToLongTimeString(), DateTime.Now.ToLongDateString());
            }
        }