public void Put(Test test, int userId) { _testRepository.Update(test, userId); }
public void Post(Test test, int userId, int functionalityId) { test.Functionality = _functionalityRepository.Get(functionalityId, userId); _testRepository.Add(test, userId); }