public IEnumerable <string> Get() { string val1 = _valueRepository.Get("1"); string val2 = _valueRepository.Get("2"); return(new string[] { val1, val2 }); }
public async Task <ValueModel> Get(int id) { var value = await _repository.Get(id); _logger.LogDebug("Got value {@value}", value); return(value); }
public async Task <Value> Get(Guid valueId) { return(await repo.Get(valueId)); }
public async Task <Value> Get(Guid crazyKey) { return(await repo.Get(crazyKey)); }
public IActionResult Get() { var results = _valueRepository.Get().ToList(); return(Ok(results)); }
public async Task Update(Value valueEntity) { Value entity = await _valueRepository.Get(valueEntity.Id); entity.Name = valueEntity.Name; }
public IActionResult Get() { var myValues = _valueRepository.Get().ToList(); return(Ok(myValues)); }
public async Task <Value> Get(KeyEnum valueId) { return(await repo.Get(valueId)); }
public async Task <Value> GetValueById(int id) { return(await _valueRepository.Get(id)); }
public string[] Get() { var result = _repository.Get(); return(result); }
public ActionResult <IValue> Get(int id) { var value = _valueRepository.Get(id); return(Ok(value)); }
public IEnumerable <User> Get() { return(_valueRepository.Get()); }
public async Task <Value> Get(String valueId) { return(await repo.Get(valueId)); }