public bool AddOne(PositionVm viewModel, ref string msg, ref int newId) { if (!EntryChecker.IsNotNullOrNotWhiteSpace(viewModel.Title, ref msg)) { return(false); } return(db.AddOne(MapProperties(viewModel), ref msg, ref newId)); }