public void CreateSubItemSetor(Subitemsetor subItemSetor) { _conexao.Insert(subItemSetor); }
public List <ItemSubItem> GetListItemsSubItem(Subitemsetor subItemSetor) { return(_conexao.Table <ItemSubItem>().Where(a => a.RelatoriosId == subItemSetor.Idrelatorio && a.Idsetor == subItemSetor.Idsetor && a.Idsubitem == subItemSetor.Id).ToList()); }
public ItemSubItem GetItemsSubItem(Subitemsetor subItemSetor) { return(_conexao.Table <ItemSubItem>().Where(a => a.RelatoriosId == subItemSetor.Idrelatorio && a.Idsetor == subItemSetor.Idsetor && a.Id == subItemSetor.Id).FirstOrDefault()); }
public void UpdateeSubItemSetor(Subitemsetor subItemSetor) { _conexao.Update(subItemSetor); }