public SchedulesController() { this.schedulelogic = new ScheduleLogics(); this.routeservice = new RouteServices(); this.ranklogic = new RankLogic(); this.scheduledateLogic = new ScheduleDateLogics(); this.ownerLogic = new OwnerLogics(); }
public HttpResponseMessage TeamRank([FromBody] RankParameterModel rank) { RankLogic rankLogic = new RankLogic(); jsonResult = rankLogic.TeamRank(rank); returnResult.Content = new StringContent(jsonResult, Encoding.UTF8, "application/json"); return(returnResult); }