public static async Task <object> GetPracticials(int subjectId, int groupId) { var groupItems = new GroupAndSubjModel(); groupItems.GroupId = groupId; groupItems.SubjectId = subjectId; var body = JsonConvert.SerializeObject(groupItems); return(await AppServicesController.Request( $"{Servers.EduCatsByAddress + Links.GetParticialsMarks}", body)); }
/// <summary> /// Fetch groups request. /// </summary> /// <param name="subjectId">Subject ID.</param> /// <returns>Group data.</returns> public static async Task <object> GetOnlyGroups(int subjectId) { return(await AppServicesController.Request($"{Links.GetOnlyGroups}/{subjectId}")); }
/// <summary> /// Fetch statistics request. /// </summary> /// <param name="subjectId">Subject ID.</param> /// <param name="groupId">Group ID.</param> /// <returns>Statistics data.</returns> public static async Task <object> GetTestStatistics(int subjectId, int groupId) { return(await AppServicesController.Request( $"{Servers.EduCatsByAddress + Links.GetLabsCalendarData}subjectId={subjectId}&groupId={groupId}")); }