예제 #1
0
        public async Task <ActionResult <OnCallDeveloperResponse> > GetOnCallDeveloper()
        {
            // WTCYWYH (Write the code you wish you had)
            OnCallDeveloperResponse response = await OnCallLookup.GetOnCallDeveloper();

            return(Ok(response));
        }
예제 #2
0
        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));
        }