public static int DeleteGroup(List <Model_SubscriberGroup> param)
    {
        Model_SubscriberGroup cSG = new Model_SubscriberGroup();


        return(cSG.model_DeleteSubscriberGroup(param));

        //return 1;
    }
    public static bool UpdateGroup(List <Model_SubscriberGroup> param)
    {
        Model_SubscriberGroup cSG = new Model_SubscriberGroup();


        return(cSG.modeol_UpdateSubcriberGroup(param));

        //return 1;
    }
    public static int InsertGroup(Model_SubscriberGroup param)
    {
        Model_SubscriberGroup cSG = new Model_SubscriberGroup();


        return(cSG.model_InsertSubscriberGroup(param));

        //return 1;
    }
    public static void InsertGroup(Model_SubscriberGroup parameters)
    {
        int    ret     = SubScriberGroupController.InsertGroup(parameters);
        bool   success = false;
        string msg     = "no";

        if (ret > 0)
        {
            success = true;
            msg     = "Insert Completed!!";
        }

        //IList<IDictionary<string, object>> obj = new List<IDictionary<string, object>>();
        IDictionary <string, object> idic = new Dictionary <string, object>();

        idic.Add("success", success);
        idic.Add("msg", msg);

        SendResponse(HttpContext.Current.Response, idic);
    }
    public static IList <Model_SubscriberGroup> GetAllGroup()
    {
        Model_SubscriberGroup cSG = new Model_SubscriberGroup();

        return(cSG.getSubscriberAll());
    }
    public static object GetGroupList_DatatbleView(DTParameters param)
    {
        Model_SubscriberGroup cSG = new Model_SubscriberGroup();

        return(cSG.getSubscriberGroupAll_DataTable(param));
    }
    public static IList <Model_SubscriberGroup> GetGroupList(DTParameters param)
    {
        Model_SubscriberGroup cSG = new Model_SubscriberGroup();

        return(cSG.getSubscriberAll());
    }