C# Class Mhotivo.ParentSite.Controllers.HomeworkController

Inheritance: Controller
Show file Open project: armejiaf/Mhotivo

Public Properties

Property Type Description
EnrollsRepository IEnrollRepository
SecurityRepository ISecurityRepository
StudentRepository IStudentRepository
StudentsId List

Public Methods

Method Description
GetAllEnrolls ( List studentId ) : IEnumerable
GetAllEnrolls ( long studentId ) : IEnumerable
GetAllStudents ( long parentId ) : IEnumerable
GetEnrollsbyAcademicYear ( long academicyear ) : IEnumerable
GetParentId ( ) : long
GetStudenById ( long studentId ) : string
GetStudentName ( long academicyearId ) : List
HomeworkController ( IHomeworkRepository homeworkRepository, IAcademicYearDetailsRepository academicYearDetailRepository, IAcademicYearRepository academicYearRepository, IGradeRepository gradeRepository, ICourseRepository courseRepository, IStudentRepository studentRepository, IEnrollRepository enrollsRepository, ISessionManagementRepository sessionManagementRepository, ISecurityRepository securityRepository, IParentRepository parentRepository ) : System
Index ( string param, string student, string date ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
GetAllStudentsId ( IEnumerable students ) : List

Method Details

GetAllEnrolls() public static method

public static GetAllEnrolls ( List studentId ) : IEnumerable
studentId List
return IEnumerable

GetAllEnrolls() public static method

public static GetAllEnrolls ( long studentId ) : IEnumerable
studentId long
return IEnumerable

GetAllStudents() public static method

public static GetAllStudents ( long parentId ) : IEnumerable
parentId long
return IEnumerable

GetEnrollsbyAcademicYear() public static method

public static GetEnrollsbyAcademicYear ( long academicyear ) : IEnumerable
academicyear long
return IEnumerable

GetParentId() public static method

public static GetParentId ( ) : long
return long

GetStudenById() public static method

public static GetStudenById ( long studentId ) : string
studentId long
return string

GetStudentName() public static method

public static GetStudentName ( long academicyearId ) : List
academicyearId long
return List

HomeworkController() public method

public HomeworkController ( IHomeworkRepository homeworkRepository, IAcademicYearDetailsRepository academicYearDetailRepository, IAcademicYearRepository academicYearRepository, IGradeRepository gradeRepository, ICourseRepository courseRepository, IStudentRepository studentRepository, IEnrollRepository enrollsRepository, ISessionManagementRepository sessionManagementRepository, ISecurityRepository securityRepository, IParentRepository parentRepository ) : System
homeworkRepository IHomeworkRepository
academicYearDetailRepository IAcademicYearDetailsRepository
academicYearRepository IAcademicYearRepository
gradeRepository IGradeRepository
courseRepository ICourseRepository
studentRepository IStudentRepository
enrollsRepository IEnrollRepository
sessionManagementRepository ISessionManagementRepository
securityRepository ISecurityRepository
parentRepository IParentRepository
return System

Index() public method

public Index ( string param, string student, string date ) : System.Web.Mvc.ActionResult
param string
student string
date string
return System.Web.Mvc.ActionResult

Property Details

EnrollsRepository public static property

public static IEnrollRepository EnrollsRepository
return IEnrollRepository

SecurityRepository public static property

public static ISecurityRepository SecurityRepository
return ISecurityRepository

StudentRepository public static property

public static IStudentRepository StudentRepository
return IStudentRepository

StudentsId public static property

public static List StudentsId
return List