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