public IHttpActionResult UpdateEmail([FromBody]UpdateEmailBM model)
        {
            SkyberryUser user = UOW.SkyberryUsers.GetById(UserIdentity.GetUserId());
            if(user == null)
            {
                return new SkyApiNotFound(Request);
            }

            user.Email = model.NewEmail;
            UOW.Commit();

            UpdateEmailVM payload = new UpdateEmailVM
            {
                Email = user.Email,
            };

            return new SkyApiPayload<UpdateEmailVM>(Request, payload);
        }
        public IHttpActionResult UpdateEmail([FromBody] UpdateEmailBM model)
        {
            SkyberryUser user = UOW.SkyberryUsers.GetById(UserIdentity.GetUserId());

            if (user == null)
            {
                return(new SkyApiNotFound(Request));
            }

            user.Email = model.NewEmail;
            UOW.Commit();

            UpdateEmailVM payload = new UpdateEmailVM
            {
                Email = user.Email,
            };

            return(new SkyApiPayload <UpdateEmailVM>(Request, payload));
        }