webdav portal owa edit fixes

This commit is contained in:
vfedosevich 2015-02-02 03:41:44 -08:00
parent aedc7ec08e
commit 9edf1f8d93
13 changed files with 133 additions and 21 deletions

View file

@ -34,7 +34,6 @@ namespace WebsitePanel.WebDavPortal.Controllers.Api
private readonly IAuthenticationService _authenticationService;
private readonly IAccessTokenManager _tokenManager;
private readonly ICryptography _cryptography;
//private static WopiSession _session;
private readonly ICobaltManager _cobaltManager;
public OwaController(IWopiServer wopiServer, IWebDavManager webDavManager, IAuthenticationService authenticationService, IAccessTokenManager tokenManager, ICryptography cryptography, ICobaltManager cobaltManager)
@ -105,6 +104,10 @@ namespace WebsitePanel.WebDavPortal.Controllers.Api
[HttpPost]
public HttpResponseMessage Lock(int accessTokenId)
{
// var token = _tokenManager.GetToken(accessTokenId);
//_webDavManager.LockFile(token.FilePath);
return new HttpResponseMessage(HttpStatusCode.OK);
}