Skip to content

Instantly share code, notes, and snippets.

@mehmetalierol
Last active September 8, 2018 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mehmetalierol/e6b8bd4eaef1c99852cbd2fddeccc1f8 to your computer and use it in GitHub Desktop.
Save mehmetalierol/e6b8bd4eaef1c99852cbd2fddeccc1f8 to your computer and use it in GitHub Desktop.
namespace Company.Application.Common.Enums
{
/// <summary>
/// Projemiz içerisinde kullanacağımız tüm durumları bu class içerisinde yazarak hepsini bir araya toplamış olacağız.
/// Bu sayede bir durum ataması yaparken ya da kontrol gerçekleştirirken sadece bu enum'ı kullanmak yeterli olacak.
/// </summary>
public enum AppStatus
{
//Durumlarınızı nasıl tanımlamak isterseniz o şekilde bu kısma yazabilirsiniz ben örnek olması açısından 4 adet tanımladım
Aktif = 1,
OnayBekliyor = 2,
AskiyaAlindi = 3,
Silindi = 4
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment