# C1.Web.Api.Storage.StorageController

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Api_Storage_StorageController" data-uid="C1.Web.Api.Storage.StorageController" class="text-break">StorageController Class
</h1>
  <div class="markdown level0 summary"><p>Controller for Storage Web API.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.controllerbase">ControllerBase</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.controller">Controller</a></div>
    <div class="level3"><span class="xref">StorageController</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.filters.iactionfilter">IActionFilter</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.filters.iasyncactionfilter">IAsyncActionFilter</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.filters.ifiltermetadata">IFilterMetadata</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Api.Storage.html">C1.Web.Api.Storage</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Api.dll</h6>
  <h5 id="C1_Web_Api_Storage_StorageController_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class StorageController : Controller, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class StorageController
    Inherits Controller
    Implements IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Api_Storage_StorageController__ctor" data-uid="C1.Web.Api.Storage.StorageController.#ctor">
          <a class="xref" href="C1.Web.Api.Storage.StorageController.-ctor.html#C1_Web_Api_Storage_StorageController__ctor">StorageController()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Api_Storage_StorageController_CreateFolder_System_String_System_String_" data-uid="C1.Web.Api.Storage.StorageController.CreateFolder(System.String,System.String)">
          <a class="xref" href="C1.Web.Api.Storage.StorageController.CreateFolder.html#C1_Web_Api_Storage_StorageController_CreateFolder_System_String_System_String_">CreateFolder(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Create new folder with path</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Storage_StorageController_DeleteFile_System_String_System_String_" data-uid="C1.Web.Api.Storage.StorageController.DeleteFile(System.String,System.String)">
          <a class="xref" href="C1.Web.Api.Storage.StorageController.DeleteFile.html#C1_Web_Api_Storage_StorageController_DeleteFile_System_String_System_String_">DeleteFile(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes the file with the specified path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Storage_StorageController_GetFile_System_String_System_String_" data-uid="C1.Web.Api.Storage.StorageController.GetFile(System.String,System.String)">
          <a class="xref" href="C1.Web.Api.Storage.StorageController.GetFile.html#C1_Web_Api_Storage_StorageController_GetFile_System_String_System_String_">GetFile(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the file with the specified path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Storage_StorageController_GetListFileName_System_String_System_String_" data-uid="C1.Web.Api.Storage.StorageController.GetListFileName(System.String,System.String)">
          <a class="xref" href="C1.Web.Api.Storage.StorageController.GetListFileName.html#C1_Web_Api_Storage_StorageController_GetListFileName_System_String_System_String_">GetListFileName(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets all files and folders within the specified path.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Storage_StorageController_MoveFile_System_String_System_String_" data-uid="C1.Web.Api.Storage.StorageController.MoveFile(System.String,System.String)">
          <a class="xref" href="C1.Web.Api.Storage.StorageController.MoveFile.html#C1_Web_Api_Storage_StorageController_MoveFile_System_String_System_String_">MoveFile(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Move files from current path to destination path</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Storage_StorageController_UploadFile_System_String_C1_Web_Api_Storage_UploadRequest_System_String_" data-uid="C1.Web.Api.Storage.StorageController.UploadFile(System.String,C1.Web.Api.Storage.UploadRequest,System.String)">
          <a class="xref" href="C1.Web.Api.Storage.StorageController.UploadFile.html#C1_Web_Api_Storage_StorageController_UploadFile_System_String_C1_Web_Api_Storage_UploadRequest_System_String_">UploadFile(string, UploadRequest, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Uploads file with the specified path.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
