C# Class Mhotivo.Controllers.NotificationController

Inheritance: Controller
Exibir arquivo Open project: armejiaf/Mhotivo

Public Properties

Property Type Description
Db MhotivoContext

Public Methods

Method Description
Edit ( int id ) : System.Web.Mvc.ActionResult
GetGroupsAndEmails ( string filter ) : System.Web.Mvc.JsonResult
Index ( string searchName ) : System.Web.Mvc.ActionResult
ListStudent ( string id ) : System.Web.Mvc.JsonResult
NotificationController ( ISessionManagementRepository sessionManagement, IUserRepository userRepository, INotificationRepository notificationRepository, INotificationTypeRepository notificationTypeRepository, IPeopleRepository peopleRepository, ITeacherRepository teacherRepository, IAcademicYearDetailsRepository academicYearDetailRepository, IStudentRepository studentRepository, IParentRepository parentRepository, IGradeRepository gradeRepository, IAcademicYearRepository academicYearRepository, IEnrollRepository enrollRepository, IEducationLevelRepository areaReporsitory ) : System
OptiontList ( string id ) : System.Web.Mvc.JsonResult

Private Methods

Method Description
Add ( ) : System.Web.Mvc.ActionResult
Add ( NotificationModel eventNotification, string addressedTo ) : System.Web.Mvc.ActionResult
AddUsersToGradeNotification ( Mhotivo.Data.Entities.Notification notificationIdentity ) : void
AddUsersToLevelNotification ( Mhotivo.Data.Entities.Notification notificationIdentity ) : void
AddUsersToPersonalNotification ( Mhotivo.Data.Entities.Notification notificationIdentity ) : void
Approve ( ) : System.Web.Mvc.ActionResult
Approve ( int id ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id, NotificationModel eventNotification ) : System.Web.Mvc.ActionResult
GetListOpcionTypeNotification ( string id ) : IEnumerable
LoadListStudent ( int idGrade ) : IEnumerable
LoadTypeNotification ( NotificationModel &model ) : void

Method Details

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

GetGroupsAndEmails() public method

public GetGroupsAndEmails ( string filter ) : System.Web.Mvc.JsonResult
filter string
return System.Web.Mvc.JsonResult

Index() public method

public Index ( string searchName ) : System.Web.Mvc.ActionResult
searchName string
return System.Web.Mvc.ActionResult

ListStudent() public method

public ListStudent ( string id ) : System.Web.Mvc.JsonResult
id string
return System.Web.Mvc.JsonResult

NotificationController() public method

public NotificationController ( ISessionManagementRepository sessionManagement, IUserRepository userRepository, INotificationRepository notificationRepository, INotificationTypeRepository notificationTypeRepository, IPeopleRepository peopleRepository, ITeacherRepository teacherRepository, IAcademicYearDetailsRepository academicYearDetailRepository, IStudentRepository studentRepository, IParentRepository parentRepository, IGradeRepository gradeRepository, IAcademicYearRepository academicYearRepository, IEnrollRepository enrollRepository, IEducationLevelRepository areaReporsitory ) : System
sessionManagement ISessionManagementRepository
userRepository IUserRepository
notificationRepository INotificationRepository
notificationTypeRepository INotificationTypeRepository
peopleRepository IPeopleRepository
teacherRepository ITeacherRepository
academicYearDetailRepository IAcademicYearDetailsRepository
studentRepository IStudentRepository
parentRepository IParentRepository
gradeRepository IGradeRepository
academicYearRepository IAcademicYearRepository
enrollRepository IEnrollRepository
areaReporsitory IEducationLevelRepository
return System

OptiontList() public method

public OptiontList ( string id ) : System.Web.Mvc.JsonResult
id string
return System.Web.Mvc.JsonResult

Property Details

Db public_oe property

public MhotivoContext Db
return MhotivoContext