Exemple #1
0
        public bool Delete(Administration item)
        {
            try
            {
                getDatalayer = new LiteDbAdministrationDataMapper();

                if (item.Id > 0)
                {
                    getDatalayer.Delete(item);
                }

                return(true);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message.ToString());
            }
        }