public async Task <IHttpActionResult> ListAllTechies() { var result = await _techieBo.ListAllTechies(); if (result != null) { return(Ok(TechiesViewModel.ToList(result))); } return(NotFound()); }
public async Task <IHttpActionResult> SugestTechie(string text) { var result = await _techieBo.SugestTechie(text); if (result != null) { return(Ok(TechiesViewModel.ToList(result))); } return(NotFound()); }