public static string RefreshPie(string startDate, string endDate) { Reusable_Methods reusable_Methods = new Reusable_Methods(); DateTime startDateD = reusable_Methods.CreateDateTime(startDate); DateTime endDateD = reusable_Methods.CreateDateTime(endDate); WebForm6 thisWebForm = new WebForm6(); int total = thisWebForm.GetTotalOfPosts(startDateD, endDateD); string result = thisWebForm.GetDataForPie(total); return result; }
public static string[] RefreshNmbersInGroups(string startDate, string endDate) { Reusable_Methods reusable_Methods = new Reusable_Methods(); DateTime startDateD = reusable_Methods.CreateDateTime(startDate); DateTime endDateD = reusable_Methods.CreateDateTime(endDate); WebForm6 thisWebForm = new WebForm6(); List<Group> groups = thisWebForm.GetNmbersInGroupsValues(startDateD, endDateD); string[] result = new string[2]; result[0] = thisWebForm.numberOfMembers; result[1] = thisWebForm.GroupOfNames; return result; }
public static string[] UpdateStats(string startDate, string endDate) { Reusable_Methods reusable_Methods = new Reusable_Methods(); DateTime startDateD = reusable_Methods.CreateDateTime(startDate); DateTime endDateD = reusable_Methods.CreateDateTime(endDate); WebForm6 thisWebForm = new WebForm6(); int total = thisWebForm.GetTotalOfPosts(startDateD, endDateD); // string result = thisWebForm.GetDataForPie(total); thisWebForm.GenerateSatistics(startDateD, endDateD); string[] result = new string[] {thisWebForm.members.ToString(), thisWebForm.posts.ToString(), thisWebForm.messages.ToString(), thisWebForm.reports.ToString(), thisWebForm.blocedMembers.ToString()}; return result; }
public static string RefreshPie(string startDate, string endDate) { Reusable_Methods reusable_Methods = new Reusable_Methods(); DateTime startDateD = reusable_Methods.CreateDateTime(startDate); DateTime endDateD = reusable_Methods.CreateDateTime(endDate); WebForm6 thisWebForm = new WebForm6(); int total = thisWebForm.GetTotalOfPosts(startDateD, endDateD); string result = thisWebForm.GetDataForPie(total); return(result); }
public static string[] RefreshNmbersInGroups(string startDate, string endDate) { Reusable_Methods reusable_Methods = new Reusable_Methods(); DateTime startDateD = reusable_Methods.CreateDateTime(startDate); DateTime endDateD = reusable_Methods.CreateDateTime(endDate); WebForm6 thisWebForm = new WebForm6(); List <Group> groups = thisWebForm.GetNmbersInGroupsValues(startDateD, endDateD); string[] result = new string[2]; result[0] = thisWebForm.numberOfMembers; result[1] = thisWebForm.GroupOfNames; return(result); }
public static string[] UpdateStats(string startDate, string endDate) { Reusable_Methods reusable_Methods = new Reusable_Methods(); DateTime startDateD = reusable_Methods.CreateDateTime(startDate); DateTime endDateD = reusable_Methods.CreateDateTime(endDate); WebForm6 thisWebForm = new WebForm6(); int total = thisWebForm.GetTotalOfPosts(startDateD, endDateD); // string result = thisWebForm.GetDataForPie(total); thisWebForm.GenerateSatistics(startDateD, endDateD); string[] result = new string[] { thisWebForm.members.ToString(), thisWebForm.posts.ToString(), thisWebForm.messages.ToString(), thisWebForm.reports.ToString(), thisWebForm.blocedMembers.ToString() }; return(result); }