public async Task <OpsFinancialsGetRes> GetOpsFinancialDetails([FromBody] OpsFinancialsGetReq request)
        {
            var response = new OpsFinancialsGetRes();

            try
            {
                if (request != null)
                {
                    var result = await _opsRepository.GetOpsFinancialDetails(request);

                    if (result != null)
                    {
                        response = result;
                        response.ResponseStatus.Status = "Success";
                    }
                    else
                    {
                        response.ResponseStatus.Status       = "Failure";
                        response.ResponseStatus.ErrorMessage = "Ann Error Occurs.";
                    }
                }
                else
                {
                    response.ResponseStatus.Status       = "Failure";
                    response.ResponseStatus.ErrorMessage = "OpsProductTypeGetReq details can not be null.";
                }
            }
            catch (Exception ex)
            {
                response.ResponseStatus.Status       = "Failure";
                response.ResponseStatus.ErrorMessage = "An Error Occurs :- " + ex.Message;
            }
            return(response);
        }
        public async Task <OpsFinancialsGetRes> GetOpsFinancialDetails(OpsFinancialsGetReq opsFinancialGetReq, string ticket)
        {
            OpsFinancialsGetRes opsFinancialGetRes = new OpsFinancialsGetRes();

            opsFinancialGetRes = await serviceProxy.PostData(_configuration.GetValue <string>("ServiceOperations:GetOpsFinancialDetails"), opsFinancialGetReq, typeof(OpsFinancialsGetRes), ticket);

            return(opsFinancialGetRes);
        }