C# Class Kadr.Controllers.BonusController

Mostra file Open project: UGTU/UGTUKadrProject

Public Methods

Method Description
AddBonus ( object bonusObject, System.Windows.Forms.BindingSource bonusBindingSource ) : void

Добавление надбавки

CreateBonusChange ( Bonus currentBonus ) : void

Создает новое изменение для надбавки

DeleteBonus ( System.Windows.Forms.BindingSource bonusBindingSource, Bonus CurrentBonus = null ) : void
EditBonus ( Bonus bonus ) : void
GetAllEmployeeBonus ( Employee employee ) : IEnumerable
GetBonus ( object bonusObject ) : IEnumerable

Возвращает список надбавок для объекта

Private Methods

Method Description
BonusController ( ) : System

Method Details

AddBonus() public method

Добавление надбавки
public AddBonus ( object bonusObject, System.Windows.Forms.BindingSource bonusBindingSource ) : void
bonusObject object объект, которому добавляем
bonusBindingSource System.Windows.Forms.BindingSource BindingSource
return void

CreateBonusChange() public method

Создает новое изменение для надбавки
public CreateBonusChange ( Bonus currentBonus ) : void
currentBonus Kadr.Data.Bonus Надбавка
return void

DeleteBonus() public method

public DeleteBonus ( System.Windows.Forms.BindingSource bonusBindingSource, Bonus CurrentBonus = null ) : void
bonusBindingSource System.Windows.Forms.BindingSource
CurrentBonus Kadr.Data.Bonus
return void

EditBonus() public method

public EditBonus ( Bonus bonus ) : void
bonus Kadr.Data.Bonus
return void

GetAllEmployeeBonus() public method

public GetAllEmployeeBonus ( Employee employee ) : IEnumerable
employee Kadr.Data.Employee
return IEnumerable

GetBonus() public method

Возвращает список надбавок для объекта
public GetBonus ( object bonusObject ) : IEnumerable
bonusObject object объект
return IEnumerable