public void Create(Severity item)
        {
            if (item != null)
            {
                try
                {
                    db.Severities.Add(item);

                    db.SaveChanges();

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

            return;
        }
Beispiel #2
0
        public void Create(TaskCategory item)
        {
            if (item != null)
            {
                try
                {
                    db.Categories.Add(item);

                    db.SaveChanges();

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

            return;
        }
Beispiel #3
0
        public void Create(TaskEntity item)
        {
            if (item != null)
            {
                try
                {
                    db.Tasks.Add(item);

                    db.SaveChanges();

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

            return;
        }