Пример #1
0
 public void Add(Award award)
 {
     _awardRepository.Add(award);
     _awardRepository.Save();
 }
Пример #2
0
 public IActionResult Create(Award award)
 {
     repository.Add(award);
     return(RedirectToAction("Index"));
 }
Пример #3
0
 public void CreateAward(Award award)
 {
     awardRepository.Add(award);
 }
Пример #4
0
 public Award Add(decimal successValue, decimal failValue, decimal quitValue, LevelEnum level)
 {
     ValidateArguments(successValue, failValue, quitValue);
     return(_repository.Add(successValue, failValue, quitValue, level));
 }