Method | Description | |
---|---|---|
Create ( Mhotivo.Data.Entities.Teacher itemToCreate ) : Mhotivo.Data.Entities.Teacher | ||
Delete ( long id ) : Mhotivo.Data.Entities.Teacher | ||
ExistEmail ( string email ) : bool | ||
ExistIdNumber ( string idNumber ) : bool | ||
Filter ( bool>.Expression |
||
First ( Teacher>.Expression |
||
FirstOrDefault ( bool>.Expression |
||
GenerateTeacherFromRegisterModel ( Mhotivo.Data.Entities.Teacher teacherRegisterModel ) : Mhotivo.Data.Entities.Teacher | ||
GetAllTeachers ( ) : IEnumerable |
||
GetById ( long id ) : Mhotivo.Data.Entities.Teacher | ||
GetTeacherDisplayModelById ( long id ) : Mhotivo.Data.Entities.Teacher | ||
GetTeacherEditModelById ( long id ) : Mhotivo.Data.Entities.Teacher | ||
Query ( Teacher>.Expression |
||
SaveChanges ( ) : void | ||
TeacherRepository ( MhotivoContext ctx ) : System | ||
Update ( Mhotivo.Data.Entities.Teacher itemToUpdate ) : Mhotivo.Data.Entities.Teacher | ||
UpdateTeacherFromTeacherEditModel ( Mhotivo.Data.Entities.Teacher teacherEditModel, Mhotivo.Data.Entities.Teacher teacher ) : Mhotivo.Data.Entities.Teacher |
public Create ( Mhotivo.Data.Entities.Teacher itemToCreate ) : Mhotivo.Data.Entities.Teacher | ||
itemToCreate | Mhotivo.Data.Entities.Teacher | |
return | Mhotivo.Data.Entities.Teacher |
public Delete ( long id ) : Mhotivo.Data.Entities.Teacher | ||
id | long | |
return | Mhotivo.Data.Entities.Teacher |
public ExistIdNumber ( string idNumber ) : bool | ||
idNumber | string | |
return | bool |
public Filter ( bool>.Expression |
||
expression | bool>.Expression | |
return | IQueryable |
public First ( Teacher>.Expression |
||
query | Teacher>.Expression | |
return | Mhotivo.Data.Entities.Teacher |
public FirstOrDefault ( bool>.Expression |
||
query | bool>.Expression | |
return | Mhotivo.Data.Entities.Teacher |
public GenerateTeacherFromRegisterModel ( Mhotivo.Data.Entities.Teacher teacherRegisterModel ) : Mhotivo.Data.Entities.Teacher | ||
teacherRegisterModel | Mhotivo.Data.Entities.Teacher | |
return | Mhotivo.Data.Entities.Teacher |
public GetById ( long id ) : Mhotivo.Data.Entities.Teacher | ||
id | long | |
return | Mhotivo.Data.Entities.Teacher |
public GetTeacherDisplayModelById ( long id ) : Mhotivo.Data.Entities.Teacher | ||
id | long | |
return | Mhotivo.Data.Entities.Teacher |
public GetTeacherEditModelById ( long id ) : Mhotivo.Data.Entities.Teacher | ||
id | long | |
return | Mhotivo.Data.Entities.Teacher |
public Query ( Teacher>.Expression |
||
expression | Teacher>.Expression | |
return | IQueryable |
public TeacherRepository ( MhotivoContext ctx ) : System | ||
ctx | MhotivoContext | |
return | System |
public Update ( Mhotivo.Data.Entities.Teacher itemToUpdate ) : Mhotivo.Data.Entities.Teacher | ||
itemToUpdate | Mhotivo.Data.Entities.Teacher | |
return | Mhotivo.Data.Entities.Teacher |
public UpdateTeacherFromTeacherEditModel ( Mhotivo.Data.Entities.Teacher teacherEditModel, Mhotivo.Data.Entities.Teacher teacher ) : Mhotivo.Data.Entities.Teacher | ||
teacherEditModel | Mhotivo.Data.Entities.Teacher | |
teacher | Mhotivo.Data.Entities.Teacher | |
return | Mhotivo.Data.Entities.Teacher |