public HttpResponseMessage GetPhones()
 {
     return(Request.CreateResponse(HttpStatusCode.OK, CellPhoneManager.GetPhones()));
 }
示例#2
0
 public IActionResult GetPhones()
 {
     return(Ok(CellPhoneManager.GetPhones()));
 }