public ResponseModel InserCreateReporttReport(string ReportName, bool isReportActive, string TicketReportParams,
                                                      bool IsDaily, bool IsDailyForMonth, bool IsWeekly, bool IsWeeklyForMonth, bool IsDailyForYear, bool IsWeeklyForYear)

        {
            int           insertCount      = 0;
            ResponseModel objResponseModel = new ResponseModel();
            int           statusCode       = 0;
            string        statusMessage    = "";

            try
            {
                ////Get token (Double encrypted) and get the tenant id
                string       token        = Convert.ToString(Request.Headers["X-Authorized-Token"]);
                Authenticate authenticate = new Authenticate();
                authenticate = SecurityService.GetAuthenticateDataFromTokenCache(Cache, SecurityService.DecryptStringAES(token));

                SettingsCaller newReport = new SettingsCaller();

                insertCount = newReport.InsertReport(new ReportService(Cache, Db), authenticate.TenantId,
                                                     ReportName, isReportActive, TicketReportParams, IsDaily, IsDailyForMonth, IsWeekly, IsWeeklyForMonth,
                                                     IsDailyForYear, IsWeeklyForYear, authenticate.UserMasterID);

                statusCode =
                    insertCount == 0 ?
                    (int)EnumMaster.StatusCode.InternalServiceNotWorking : (int)EnumMaster.StatusCode.Success;

                statusMessage = CommonFunction.GetEnumDescription((EnumMaster.StatusCode)statusCode);

                objResponseModel.Status       = true;
                objResponseModel.StatusCode   = statusCode;
                objResponseModel.Message      = statusMessage;
                objResponseModel.ResponseData = insertCount;
            }
            catch (Exception)
            {
                throw;
            }

            return(objResponseModel);
        }