public SingerInfoViewModel(int id, string firstName, string surname, VoiceGroup?voice, SheetInfoType status) { Id = id; FirstName = firstName; Surname = surname; Voice = voice.Value; Status = status; SelectedForAction = false; }
internal static string GetSingerSheetInfoTypeNameString(SheetInfoType sheetInfoType) { string result = null; switch (sheetInfoType) { case SheetInfoType.NoCopy: result = "Nemám noty"; break; case SheetInfoType.HasCopy: result = "Mám noty"; break; case SheetInfoType.Ordered: result = "Mám objednáno"; break; } return(result); }