public int CreateOrUpdate(CommonOrgBusinessLine model)
        {
            var get = _repo.Get(model.ID);

            if (get == null)
            {
                _repo.Insert(model);
            }
            else
            {
                _repo.Update(model);
            }
            return(model.ID);
        }
 public void Update(CommonOrgBusinessLine model)
 {
     _repo.Update(model);
 }
 public int Create(CommonOrgBusinessLine model)
 {
     _repo.Insert(model);
     return(model.ID);
 }