public ActionStatus AddGoalscorerForRound(GoalscorerBetModel model) { return(this.CallStoredProcedure ( DBActionType.Insert, () => { return new SPResult { Result = this.Context.SaveGoalscorerForCurrentRound(model.GoalscorerID, model.Goals) }; } )); }
public ActionResult AddGoalscorerForRound(GoalscorerBetModel model) { return(Json(new PlayerRepository().AddGoalscorerForRound(model).Success)); }