public static void UpdateBulk(object parameters)
    {
        //string res = (new BaseWebMethodAJax
        //{
        //    success = success,
        //    msg = msg,
        //    IsOnprocess = Isprocess,
        //    PerCentCompleted = PerCent,
        //    Totalrecord = Total


        //}).

        AppTools.SendResponse(HttpContext.Current.Response, MediaController.GetMediaAll().ObjectToJSON());
    }
    public static void GetMedia(object parameters)
    {
        IDictionary <string, object> data = (IDictionary <string, object>)parameters;
        //string res = (new BaseWebMethodAJax
        //{
        //    success = success,
        //    msg = msg,
        //    IsOnprocess = Isprocess,
        //    PerCentCompleted = PerCent,
        //    Totalrecord = Total


        //}).

        int    intCat  = int.Parse(data["Tax"].ToString());
        string intType = data["Type"].ToString();

        AppTools.SendResponse(HttpContext.Current.Response, MediaController.GetMediaAll(intCat, intType).ObjectToJSON());
    }