Exemple #1
0
 /// <summary>
 /// 根据主键查找对象
 /// </summary>
 /// <param name="fileTypeId"></param>
 /// <returns></returns>
 public static FileType GetFileTypeById(int fileTypeId)
 {
     return(FileTypeService.GetFileTypeById(fileTypeId));
 }
Exemple #2
0
 public ActionResult <string> GetFileContentById(int id)
 {
     return(genericResponseFactory.CreateGenericControllerResponse(fileTypeService.GetFileTypeById(id)));
 }