protected static string GetMessage(Guid id, INaming entity)
 {
     return(string.Format("Нельзя редактировать системный {0} {1}", entity.Nominative(), id));
 }
Exemplo n.º 2
0
 protected static string GetMessage(Guid id, INaming entity)
 {
     return(string.Format("{0} {1} {2}", entity.Nominative(), id, entity.NotFound()));
 }
Exemplo n.º 3
0
 protected static string GetMessage(Guid id, INaming entity)
 {
     return(string.Format("Нет смысла удалять {0} {1}, который уже удалён", entity.Nominative(), id));
 }
Exemplo n.º 4
0
 protected static string GetMessage(Guid accountId, Guid id, INaming entity)
 {
     return(string.Format("{0} {1} {2} в аккаунте {3}", entity.Nominative(), id, entity.NotFound(), accountId));
 }