Esempio n. 1
0
 public void UpdateCourseStatusSendEmail(Course item)
 {
     FaultHandler <Course> .Protect(() => new CourseDomain().UpdateCourseStatusSendEmail(item));
 }
Esempio n. 2
0
 public IEnumerable <Course> ListCategoryByIds(IEnumerable <int> categoryId)
 {
     return(FaultHandler <Course> .Protect(() => new CourseDomain().ListByCategoryIds(categoryId)));
 }
Esempio n. 3
0
 public void UpdateCourse(Course item)
 {
     FaultHandler <Course> .Protect(() => new CourseDomain().Update(item));
 }
Esempio n. 4
0
 public IEnumerable <Course> ListCoursesByIds(IEnumerable <int> courseIds)
 {
     return(FaultHandler <Course> .Protect(() => new CourseDomain().ListByCourseIds(courseIds)));
 }
Esempio n. 5
0
 public IEnumerable <string> ListByPrefix(string prefix)
 {
     return(FaultHandler <string> .Protect(() => new CourseDomain().ListByPrefix(prefix)));
 }
Esempio n. 6
0
 public IEnumerable <Course> ListCourses(int trainerId)
 {
     return(FaultHandler <Course> .Protect(() => new CourseDomain().List(trainerId)));
 }
Esempio n. 7
0
 public Course GetCourse(int id)
 {
     return(FaultHandler <Course> .Protect(() => new CourseDomain().Get(id)));
 }
Esempio n. 8
0
 public Course CreateCourse(Course item)
 {
     return(FaultHandler <Course> .Protect(() => new CourseDomain().Create(item)));
 }