C# Class Mhotivo.ParentSite.Controllers.NotificationController

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
AddCommentToNotification ( int notificationId, string commentText ) : System.Web.Mvc.ActionResult
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
NotificationController ( INotificationRepository notificationRepository, IAcademicYearRepository academicYearRepository, IParentRepository parentRepository, ISessionManagementRepository sessionManagementRepository, ISecurityRepository securityRepository, IStudentRepository studentRepository, IEnrollRepository enrollsRepository ) : System

Private Methods

Method Description
GetAllStudentsId ( IEnumerable students ) : List
Index ( ) : System.Web.Mvc.ActionResult

Method Details

AddCommentToNotification() public method

public AddCommentToNotification ( int notificationId, string commentText ) : System.Web.Mvc.ActionResult
notificationId int
commentText string
return System.Web.Mvc.ActionResult

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

NotificationController() public method

public NotificationController ( INotificationRepository notificationRepository, IAcademicYearRepository academicYearRepository, IParentRepository parentRepository, ISessionManagementRepository sessionManagementRepository, ISecurityRepository securityRepository, IStudentRepository studentRepository, IEnrollRepository enrollsRepository ) : System
notificationRepository INotificationRepository
academicYearRepository IAcademicYearRepository
parentRepository IParentRepository
sessionManagementRepository ISessionManagementRepository
securityRepository ISecurityRepository
studentRepository IStudentRepository
enrollsRepository IEnrollRepository
return System

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