Answers for "custom async return object c#"

C#
0

custom async return object c#

try
            {
                var Collection = <query db context>
                if (Collection == null)
                {
                    return NotFound();
                }

                return Collection;
            }
            catch (Exception ex)
            {
               return new ObjectResult(ex);
            }
Posted by: Guest on February-22-2021

C# Answers by Framework

Browse Popular Code Answers by Language