public async Task <OpsProductTypeGetRes> GetProdTypePositionByParam([FromBody] OpsProdTypePositionGetReq request)
        {
            var response = new OpsProductTypeGetRes();

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

                    if (result != null)
                    {
                        response = result;
                    }
                    else
                    {
                        response.ResponseStatus.Status       = "Failure";
                        response.ResponseStatus.ErrorMessage = "Ann Error Occurs.";
                    }
                }
                else
                {
                    response.ResponseStatus.Status       = "Failure";
                    response.ResponseStatus.ErrorMessage = "OpsProdTypePositionGetReq details can not be null.";
                }
            }
            catch (Exception ex)
            {
                response.ResponseStatus.Status       = "Failure";
                response.ResponseStatus.ErrorMessage = "An error occurs " + ex.Message;
            }
            return(response);
        }