Beispiel #1
0
        public string UploadClassDetail(UploadXml objClassdetail, string ProcedureName)
        {
            DbParam[] param = new DbParam[]
            {
                new DbParam(objClassdetail.xmlData, typeof(System.String), "_xmlData"),
                new DbParam(userDetail.schooltenentId, typeof(System.String), "_schoolTenentId")
            };

            Result = db.ExecuteNonQuery(ProcedureName, param, true);
            return(Result);
        }
        public IResponse <ApiResponse> UploadVehicleDriverDetail(UploadXml objClassdetail)
        {
            string result = "Inserted";

            result = this.objUploadExcelService.UploadClassDetail(objClassdetail, "");
            if (result == "" || result == null)
            {
                result = "Fail";
            }
            return(null);// Json(result);
        }
        public IResponse <ApiResponse> UploadStudentDetail(UploadXml objClassdetail)
        {
            string result = "";

            result = this.objUploadExcelService.UploadStudentDetailService(objClassdetail, "sp_StudentDetail_BulkByXml");
            if (result == "" || result == null)
            {
                result = "Fail";
            }
            return(null);// Json(result);
        }
        public IResponse <ApiResponse> UploadFacultyDetail(UploadXml objClassdetail)
        {
            string result = "Inserted";

            result = this.objUploadExcelService.UploadFacultyDetail(objClassdetail, "sp_FacultyDetail_InsertBulkByXml");
            if (result == "" || result == null)
            {
                result = "Fail";
            }
            return(null);// Json(result);
        }