public IEnumerable <Trainee> GetLazyTrainees() { BenefitSystem s = new BenefitSystem(); List <Trainee> tl = s.GetLazyTrainees(); return(tl); }
public bool CheckIfEmailExists(string Email) { BenefitSystem s = new BenefitSystem(); return(s.CheckIfEmailExists(Email)); }
public IEnumerable <RateParameter> GetRateParameters() { BenefitSystem b = new BenefitSystem(); return(b.GetRateParameters()); }
public bool checkForCloseTrainings(int UserCode, string TrainingTime) { BenefitSystem b = new BenefitSystem(); return(b.checkForCloseTrainings(UserCode, TrainingTime)); }
public int OpenChat(int UserCode1, int UserCode2) { BenefitSystem b = new BenefitSystem(); return(b.OpenChat(UserCode1, UserCode2)); }
public OnlineHistoryTrainer CheckIfTrainerOnline(int UserCode) { BenefitSystem s = new BenefitSystem(); return(s.CheckIfTrainerOnline(UserCode)); }
public List <PrefferedDay> GetPrefferedTrainingDay() { BenefitSystem s = new BenefitSystem(); return(s.GetPrefferedTrainingDay()); }
public IEnumerable <Trainer> GetLazyTrainers() { BenefitSystem s = new BenefitSystem(); return(s.GetLazyTrainers()); }
public IEnumerable <SportCategory> GetSportCategories() { BenefitSystem b = new BenefitSystem(); return(b.GetSportCategories()); }
public void UpdateExistingAvarageRate(Rating r) { BenefitSystem b = new BenefitSystem(); b.UpdateExistingAvarageRate(r); }
public void UpdateExistingParametersRate([FromBody] ParameterRate pr) { BenefitSystem b = new BenefitSystem(); b.UpdateExistingParametersRate(pr); }
public Rating CheckIfRateExists(int UserCode, int RatedUserCode) { BenefitSystem b = new BenefitSystem(); return(b.CheckIfRateExists(UserCode, RatedUserCode)); }
public void InsertParametersRate([FromBody] ParameterRate pr) { BenefitSystem b = new BenefitSystem(); b.InsertParametersRate(pr); }
public int InsertNewRating([FromBody] Rating r) { BenefitSystem b = new BenefitSystem(); return(b.InsertNewRating(r)); }
public void UpdateTrainingsStatus() { BenefitSystem b = new BenefitSystem(); b.UpdateTrainingsStatus(); }
public Trainee CheckIfPasswordMatches([FromBody] Trainee t) { BenefitSystem s = new BenefitSystem(); return(s.CheckIfPasswordMatches(t.Email, t.Password)); }
public IEnumerable <AverageRateParameters> GetAvarageParametersRate(int UserCode) { BenefitSystem b = new BenefitSystem(); return(b.GetAvarageParametersRate(UserCode)); }
public TrainerDetails GetTrainerProfileDetails(int UserCode) { BenefitSystem b = new BenefitSystem(); return(b.GetTrainerProfileDetails(UserCode)); }
public void UpdadteToken(string Token, int UserCode) { BenefitSystem s = new BenefitSystem(); s.UpdateToken(Token, UserCode); }
public void UpdateTrainerDetails([FromBody] TrainerDetails td) { BenefitSystem b = new BenefitSystem(); b.UpdateTrainerDetails(td); }
public User ShowProfile(int UserCode) { BenefitSystem s = new BenefitSystem(); return(s.ShowProfile(UserCode)); }
public void GoOffline(int UserCode, int IsTrainer) { BenefitSystem s = new BenefitSystem(); s.GoOffline(UserCode, IsTrainer); }