public async Task <ActionResult <OnCallDeveloperResponse> > GetOnCallDeveloper() { // WTCYWYH (Write the code you wish you had) OnCallDeveloperResponse response = await OnCallLookup.GetOnCallDeveloper(); return(Ok(response)); }
public async Task <ActionResult <OnCallDeveloperResponse> > GetOnCallDeveloper() { //This is for initial tests //var response = new OnCallDeveloperResponse {Email = "*****@*****.**" }; //This is what we want to have OnCallDeveloperResponse response = await OnCallLookup.GetOnCallDeveoper(); return(Ok(response)); }
public async Task <ActionResult <OnCallDeveloperResponse> > GetOnCallDeveloper() { OnCallDeveloperResponse response = await OnCallLookup.GetOnCallDeveloper(); return(Ok(response)); }