public ResultDto(SpinDto spin, int win, SpinViewModel model) { A = spin.A; B = spin.B; C = spin.C; D = spin.D; NewBestScore = model.BestScore; NewCredits = model.Credits; WinValue = win; }
public ResultDto(SpinDto spin, int win, User user) { A = spin.A; B = spin.B; C = spin.C; D = spin.D; NewBestScore = user.BestScore; NewCredits = user.Credits; WinValue = win; }