public DesignationModel GetDesignationById(int designationId) { DesignationGateway aDesignationGateway = new DesignationGateway(); DesignationModel aDesignationModel = new DesignationModel(); aDesignationModel = aDesignationGateway.GetDesignationById(designationId); return(aDesignationModel); }
public Designation GetDesignationById(int?id) { return(designationGateway.GetDesignationById(id)); }