/// <summary>
        /// Update
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static CatalogBasicSalaryModel Update(CatalogBasicSalaryModel model)
        {
            // init new entity
            var entity = new cat_BasicSalary();

            // set entity props
            model.FillEntity(ref entity);

            // update
            return new CatalogBasicSalaryModel(cat_BasicSalaryServices.Update(entity));
        }
        /// <summary>
        /// Create
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public static CatalogBasicSalaryModel Create(CatalogBasicSalaryModel model)
        {
            // init entity
            var entity = new cat_BasicSalary();

            // get entity from db
            model.FillEntity(ref entity);

            // return
            return new CatalogBasicSalaryModel(cat_BasicSalaryServices.Create(entity));
        }