예제 #1
0
 public async Task <IActionResult> GetAll()
 {
     return(_codeFactory.GetStatusCode(await _service.GetAll()));
 }
예제 #2
0
 public IActionResult GetFileServerFiles()
 {
     return(_codeFactory.GetStatusCode(_service.GetFiles(_env.WebRootPath)));
 }
예제 #3
0
 public async Task <IActionResult> SignUp([FromBody] RegisterRequest model)
 {
     return(_codeFactory.GetStatusCode(await _service.Register(model)));
 }
예제 #4
0
 public IActionResult GetFolderList()
 {
     return(_codeFactory.GetStatusCode(_service.GetFolderList()));
 }
예제 #5
0
 public IActionResult LoadDirectory(string directory, string dir = null, int level = 0)
 {
     return(_codeFactory.GetStatusCode(_service.Load(directory, dir, level)));
 }