C# Class Mhotivo.ParentSite.Controllers.HomeworkController

Inheritance: Controller
Mostrar archivo 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_oe static_oe property

public static IEnrollRepository EnrollsRepository
return IEnrollRepository

SecurityRepository public_oe static_oe property

public static ISecurityRepository SecurityRepository
return ISecurityRepository

StudentRepository public_oe static_oe property

public static IStudentRepository StudentRepository
return IStudentRepository

StudentsId public_oe static_oe property

public static List StudentsId
return List