Пример #1
0
 public List <problem_image> GetAllProblemImageByProblemId(int problemId)
 {
     return(ProblemImageRepository.FindBy(p => p.problem_id == problemId).ToList());
 }
Пример #2
0
 public void DeleteProblemImage(int id)
 {
     ProblemImageRepository.Delete(id);
 }
Пример #3
0
 public void SaveListProblemImage(List <problem_image> listImage)
 {
     ProblemImageRepository.SaveList(listImage);
 }