Beispiel #1
0
        public async Task <bool> Delete(string id)
        {
            try
            {
                await mongoService.DeleteAsync(ObjectId.Parse(id));

                return(true);
            }
            catch (Exception ex)
            {
                return(false);
            }
        }