public void SetUp() { SetUpController controller = new SetUpController(); datenow = DateTime.Now; controller.CreateInstant(datenow.ToString("R") , "1" ,"2014-05-24 20:00:00.000", "2014-05-23", "1", "2014-05-23", "2","8",4,"30","Admin"); }
public int CreateOpinionUser(String dataopinion, String neg, String hour, String hourvisitor, String idvisitor, String houragainst, String idagainst, String username, String houtopinion, String opinion) { SetUpController controller = new SetUpController(); controller.CreateOpinionUser(dataopinion, neg, hour, hourvisitor, idvisitor, houragainst, idagainst, username, houtopinion, opinion); return 1; }
public void DeleteOpinionsByInstant(String datetime) { SetUpController controller = new SetUpController(); controller.DeleteOpinionsByInstant(datetime); }