Esempio n. 1
0
        public virtual async Task<int> Execute(Entities.Account entity)
        {
            entity.HashPassword();

            var db = Database.Open();

            var inserted = await db.Accounts.Insert(entity);

            return inserted.Id;
        }