Exemplo n.º 1
0
    //  To pass 'Group Role' data in GroupRoleDAL Data Access Layer for updation
    public int UpdateGroupRole(int GroupRoleId, bool IsActive, int LoginUser, string Ret)
    {
        GroupRoleDAL GroupRoleDAL = new GroupRoleDAL();

        try
        {
            return(GroupRoleDAL.UpdateGroupRole(GroupRoleId, IsActive, LoginUser, Ret));
        }
        catch
        {
            throw;
        }
        finally
        {
            GroupRoleDAL = null;
        }
    }
 //  To pass 'Group Role' data in GroupRoleDAL Data Access Layer for updation
 public int UpdateGroupRole(int GroupRoleId, bool IsActive, int LoginUser, string Ret)
 {
     GroupRoleDAL GroupRoleDAL = new GroupRoleDAL();
     try
     {
         return GroupRoleDAL.UpdateGroupRole(GroupRoleId, IsActive, LoginUser, Ret);
     }
     catch
     {
         throw;
     }
     finally
     {
         GroupRoleDAL = null;
     }
 }