using System; using System.Collections.Generic; namespace HRM.BO { #region Religion public class Religion : BasicBaseObject { #region Constructor public Religion() { Code = string.Empty; Name = string.Empty; NameInBangla = string.Empty; _status = EnumStatus.Active; } #endregion #region Properties public string Code { get; set; } public string Name { get; set; } public string NameInBangla { get; set; } //#region Service Factory IReligionService : IReligionService //internal static IReligionService Service //{ // get { return Services.Factory.CreateService(typeof(IReligionService)); } //} //#endregion #endregion } #endregion #region IReligion Service public interface IReligionService { Religion Get(int id); List Get(); List Get(EnumStatus status); int Save(Religion item); void Delete(int id); Religion Get(string sCode); string GetNextCode(); } #endregion }