public async Task <IHttpActionResult> Get(string name) { var employee = await _repository.GetEmployeeBy(name); if (employee != null) { return(Ok(employee)); } return(NotFound()); }
public async Task <IHttpActionResult> Get(string name) { var employee = await _repository.GetEmployeeBy(name); if (employee != null) { return(Ok(employee)); } return(NotFound()); }