public async Task <Lembrete> SaveAsync(Lembrete model)
        {
            Lembrete result = null;

            bool isnew = (model.Id == 0);

            ctx.Entry(model).State = (isnew) ? EntityState.Added : EntityState.Modified;
            if (await ctx.SaveChangesAsync() > 0)
            {
                result = model;
            }

            return(result);
        }
        public async Task <Lembrete> GetAsync(int id)
        {
            Lembrete result = await Source.FirstOrDefaultAsync(r => r.Id == id);

            return(result);
        }
        public Lembrete CreateNew()
        {
            Lembrete result = new Lembrete();

            return(result);
        }