Monday, September 23, 2013

country BAL

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using HRHO_Entities;
using HRHO_DAL;
namespace HRHO_BL
{
    public class CountryBL
    {
        public int InsertCountry(CountryEntities C_Ent)
        {
            CountryDAL C_DAL = new CountryDAL();
            return C_DAL.InsertCountry(C_Ent);
        }
        public List<CountryEntities> GetCountry(CountryEntities C_Ent)
        {
            CountryDAL C_DAL = new CountryDAL();
            return C_DAL.GetCountry(C_Ent);
        }
        public int DeleteCountry(CountryEntities C_Ent)
        {
            CountryDAL C_DAL = new CountryDAL();
            return C_DAL.DeleteCountry(C_Ent);
        }
        public int UpdateCountry(CountryEntities C_Ent)
        {
            CountryDAL C_DAL = new CountryDAL();
            return C_DAL.UpdateCountry(C_Ent);
        }
    }
}

No comments: