public IActionResult DeleteFile([FromBody] StringDto fileName) => _bucketService.DeleteFile(Request.Headers["token"], fileName) .Map((x) => AllOk(x)) .Reduce(NotFoundErrorHandler, x => x is NotFoundError) .Reduce(InternalServisErrorHandler);
public IActionResult DeleteFile([FromBody] StringDto fileName) => _bucketService.DeleteFile(Request.Headers["token"], fileName) .Map((x) => AllOk(x)) .Reduce(NotFoundErrorHandler, x => x is NotFoundError) .Reduce(InternalServisErrorHandler);