public void Add(Award award) { _awardRepository.Add(award); _awardRepository.Save(); }
public IActionResult Create(Award award) { repository.Add(award); return(RedirectToAction("Index")); }
public void CreateAward(Award award) { awardRepository.Add(award); }
public Award Add(decimal successValue, decimal failValue, decimal quitValue, LevelEnum level) { ValidateArguments(successValue, failValue, quitValue); return(_repository.Add(successValue, failValue, quitValue, level)); }