public IEnumerable <string> Get() { FtpUtility ftp = new FtpUtility(); ftp.Ftp(); IEnumerable <string> res = valueService.GetValues(); _log.LogInformation(res.ToString()); return(res); }
public IHttpActionResult GetValues() { return(Ok(_valueService.GetValues())); }
// GET api/values public IEnumerable <string> Get() { return(_valueService.GetValues()); }
public async Task <IActionResult> GetValues() { var values = await _valueService.GetValues(); return(Ok(values)); }
public string[] Get() { return(_valueService.GetValues()); }
public ActionResult <IEnumerable <string> > Get() { return(_service.GetValues()); }