示例#1
0
 //[CacheOutput(ClientTimeSpan = 100, ServerTimeSpan = 100)] //Install-Package Strathweb.CacheOutput.WebApi2
 public async Task <HttpResponseMessage> GetNameAsync(string email)
 {
     return(await CreateResponse(HttpStatusCode.OK, applicationService.GetNameAsync(email).Result));
 }