Lumachain Interview Question

Implement api using .net visual studio