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