//  To pass 'Group Role' data in GroupRoleDAL Data Access Layer for insertion
 public int InsertGroupRole(int GroupId, int RoleId, bool IsActive, int LoginUser, string Ret)
 {
     GroupRoleDAL GroupRoleDAL = new GroupRoleDAL();
     try
     {
         return GroupRoleDAL.InsertGroupRole(GroupId, RoleId, IsActive, LoginUser, Ret);
     }
     catch
     {
         throw;
     }
     finally
     {
         GroupRoleDAL = null;
     }
 }
Exemplo n.º 2
0
    //  To pass 'Group Role' data in GroupRoleDAL Data Access Layer for insertion
    public int InsertGroupRole(int GroupId, int RoleId, bool IsActive, int LoginUser, string Ret)
    {
        GroupRoleDAL GroupRoleDAL = new GroupRoleDAL();

        try
        {
            return(GroupRoleDAL.InsertGroupRole(GroupId, RoleId, IsActive, LoginUser, Ret));
        }
        catch
        {
            throw;
        }
        finally
        {
            GroupRoleDAL = null;
        }
    }