Created
August 20, 2019 00:00
-
-
Save Sa1Gur/cc4c64ff6ec4b60ab0f80f5d693287dc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
namespace In2TeamsSplitter.Models | |
{ | |
[Table("teammates")] | |
public class TeamMateItem : INotifyPropertyChanged | |
{ | |
... | |
public Command RemoveCommand => new Command(Remove); | |
private void Remove() | |
{ | |
TeamMatesViewModel.Instance.Value.conn.Delete(this); | |
TeamMatesViewModel.Instance.Value.TeamMateSquad.Remove(this); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment