Esempio n. 1
0
        public async Task <int> ChangeUserCredential([FromQuery] int categoryId, string login, string password)
        {
            AuthorizedUserModel authorizedUserModel = (AuthorizedUserModel)HttpContext.User.Identity;
            var responce = await _contentService.ChangeUserCredential(authorizedUserModel.UserId, categoryId, login, password);

            return(1);
        }