public virtual ApiTicketStatusResponseModel MapBOToModel( BOTicketStatus boTicketStatus) { var model = new ApiTicketStatusResponseModel(); model.SetProperties(boTicketStatus.Id, boTicketStatus.Name); return(model); }
public virtual BOTicketStatus MapEFToBO( TicketStatus ef) { var bo = new BOTicketStatus(); bo.SetProperties( ef.Id, ef.Name); return(bo); }
public virtual TicketStatus MapBOToEF( BOTicketStatus bo) { TicketStatus efTicketStatus = new TicketStatus(); efTicketStatus.SetProperties( bo.Id, bo.Name); return(efTicketStatus); }
public virtual BOTicketStatus MapModelToBO( int id, ApiTicketStatusRequestModel model ) { BOTicketStatus boTicketStatus = new BOTicketStatus(); boTicketStatus.SetProperties( id, model.Name); return(boTicketStatus); }