Azure function returning error - C#