locked
Return status code from string type web api RRS feed

  • Question

  • User-257070954 posted

    Hi All,

          How to return status code with data in string type API

             public string GetJobDetails(string JobId)
              {

               return str

                } 

                 From the above code, I want to send status code to the client. How can I achieve this? I am using .net core 2.2

    Monday, March 9, 2020 7:43 AM

Answers

All replies