示例#1
0
        public void EditBacklogItem(BacklogItem BacklogItemEdited)
        {
            _modelBacklogItem.BacklogItems.First(p => p.BacklogItemId == BacklogItemEdited.BacklogItemId).Nome = BacklogItemEdited.Nome;
            _modelBacklogItem.BacklogItems.First(p => p.BacklogItemId == BacklogItemEdited.BacklogItemId).Estimativa = BacklogItemEdited.Estimativa;
            _modelBacklogItem.BacklogItems.First(p => p.BacklogItemId == BacklogItemEdited.BacklogItemId).Nota = BacklogItemEdited.Nota;

            _modelBacklogItem.SubmitChanges();
        }
示例#2
0
        public ActionResult Create(BacklogItem novoBackLogItem)
        {
            try
            {
                // TODO: Add insert logic here
                ViewData["ProdutoId"] = novoBackLogItem.ProdutoId;

                repBackLogItem.AddBacklogItem(novoBackLogItem);

                return PartialView("List", repBackLogItem.GetAllBacklogItens(novoBackLogItem.ProdutoId));
            }
            catch
            {
                return PartialView("List", repBackLogItem.GetAllBacklogItens(novoBackLogItem.ProdutoId));
            }
        }
示例#3
0
 public void AddBacklogItem(BacklogItem NewBacklogItem)
 {
     _modelBacklogItem.BacklogItems.InsertOnSubmit(NewBacklogItem);
     _modelBacklogItem.SubmitChanges();
 }
示例#4
0
		private void detach_BacklogItems(BacklogItem entity)
		{
			this.SendPropertyChanging();
			entity.Produto = null;
		}
示例#5
0
 partial void DeleteBacklogItem(BacklogItem instance);
示例#6
0
 partial void UpdateBacklogItem(BacklogItem instance);
示例#7
0
 partial void InsertBacklogItem(BacklogItem instance);