public async Task <HttpResponseMessage> PostSetAvatar()
 {
     //borrow the logic from the user controller
     return(await UsersController.PostSetAvatarInternal(Request, Services.UserService, AppCaches.RuntimeCache, Security.GetUserId().ResultOr(0)));
 }
Beispiel #2
0
 public async Task <HttpResponseMessage> PostSetAvatar()
 {
     //borrow the logic from the user controller
     return(await UsersController.PostSetAvatarInternal(Request, Services.UserService, ApplicationContext.ApplicationCache.StaticCache, Security.GetUserId()));
 }