Esempio n. 1
0
        public async Task <ActionResult <StoreResponse> > InsertStore([FromBody] PostStoresRequest model)
        {
            //insert new store

            Guid accountId = new Guid(User.FindFirst(ClaimTypes.NameIdentifier)?.Value);
            var  rs        = await _storesService.PostStore(accountId, model);

            return(Ok(rs));
        }