public override int UpdateLocation(Tcc.Location.BusinessEntities.Location entity)
 {
     return(TccContext.Tcc.DB.Update <Tcc.Location.BusinessEntities.Location>("Location", entity)
            .AutoMap(x => x.Id)
            .Execute());
 }
 public virtual int UpdateLocation(Tcc.Location.BusinessEntities.Location entity)
 {
     throw new NotImplementedException();
 }
 public override int InsertLocation(Tcc.Location.BusinessEntities.Location entity)
 {
     return(TccContext.Tcc.DB.Insert <Tcc.Location.BusinessEntities.Location>("Location", entity)
            .AutoMap(x => x.Id)
            .ExecuteReturnLastId <int>());
 }