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