I am trying to achieve system where an engineer will be able to raise a request and a person from the support will be able to assign the request to himself/herself, so that when someone will try to display the request in the website, it will appear with the name of the person who created the request and with the name of the person who the request is assigned to.
My models:
public class ConfigurationRequest
{
public virtual int RequestId { get; set; }
public virtual int UserId { get; set; }
public virtual int RequestNumber { get; set; }
public virtual string ReqDesc { get; set; }
}
public class User
{
public virtual int UserId { get; set; }
public virtual string UserRole {get; set; }
public virtual string UserName {get; set; }
public virtual ICollection(ConfigurationRequest) ConfigurationReuquest { get; set; }
}
And for each configuration request I would like to display something like this in my browser:
Request Number: 2864965
Raised by (Owner): Dave Johnson
Currently Assigned to: Mike Clarke
Request Description: New points required in the fuel balancing system